Details

Time bar (total: 43.2s)

sample44.0ms

Algorithm
intervals
Results
19.0ms82×body1280valid
6.0ms132×body80valid
5.0msbody160valid
3.0ms17×body640valid
2.0ms16×body320valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03212
13212

prune5.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 16.7b

Counts
2 → 1

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1.0 (hypot 1.0 x))
0.0b
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
0.0b
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
2.2b
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
16×*-un-lft-identity
14×add-sqr-sqrt
12×add-cube-cbrt
times-frac
add-log-exp
pow1
add-exp-log add-cbrt-cube
associate-/r* associate-/l*
sqrt-pow1 flip3-+ sqrt-div associate-*r/ flip-+
cbrt-undiv +-commutative sub-neg flip3-- frac-2neg pow1/2 diff-log div-exp pow-prod-down clear-num sum-log sqrt-prod flip-- div-inv distribute-lft-out distribute-lft-out-- difference-of-squares
Counts
4 → 66
Calls
4 calls:
3.0ms
(/ 1.0 (hypot 1.0 x))
7.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
6.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
4.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

series45.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(/ 1.0 (hypot 1.0 x))
17.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
7.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
16.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

simplify51.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
05021879

prune154.0ms

Filtered
55 candidates to 78 candidates (-41.8%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New73578
Fresh000
Picked101
Done000
Total74579

Merged error: 16.1b

Counts
79 → 5

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
0.0b
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
0.0b
(/ (* 1.0 (- (- 1.0 0.5) (/ 0.5 (hypot 1.0 x)))) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
1.7b
(- (- 1.0 0.5) (/ 0.5 (hypot 1.0 x)))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
17×*-un-lft-identity
11×add-sqr-sqrt add-log-exp
add-exp-log add-cbrt-cube
pow1
add-cube-cbrt associate-*r/
times-frac
flip3-- associate-/r* frac-sub flip-- associate-/l/
flip3-+ diff-log flip-+ distribute-lft-out distribute-lft-out--
cbrt-undiv sub-neg sqrt-pow1 sqrt-div div-exp associate--l+ associate-/r/ difference-of-squares
+-commutative associate--l- frac-2neg pow1/2 pow-prod-down prod-exp clear-num sum-log sqrt-prod cbrt-unprod div-inv associate-/l*
Counts
4 → 76
Calls
4 calls:
7.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
6.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
19.0ms
(/ (* 1.0 (- (- 1.0 0.5) (/ 0.5 (hypot 1.0 x)))) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
10.0ms
(- (- 1.0 0.5) (/ 0.5 (hypot 1.0 x)))

series71.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
6.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
41.0ms
(/ (* 1.0 (- (- 1.0 0.5) (/ 0.5 (hypot 1.0 x)))) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
7.0ms
(- (- 1.0 0.5) (/ 0.5 (hypot 1.0 x)))

simplify23.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 0 (14.0ms)

IterNodesCost
050471522

prune223.0ms

Filtered
62 candidates to 88 candidates (-41.9%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New85388
Fresh134
Picked101
Done000
Total87693

Merged error: 16.1b

Counts
93 → 6

localize21.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- (* (- 1.0 0.5) (- 1.0 0.5)) (* (/ 0.5 (hypot 1.0 x)) (/ 0.5 (hypot 1.0 x)))) (+ (/ 0.5 (hypot 1.0 x)) (- 1.0 0.5)))
0.0b
(/ (* 1.0 (/ (- (* (- 1.0 0.5) (- 1.0 0.5)) (* (/ 0.5 (hypot 1.0 x)) (/ 0.5 (hypot 1.0 x)))) (+ (/ 0.5 (hypot 1.0 x)) (- 1.0 0.5)))) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
0.2b
(* (/ 0.5 (hypot 1.0 x)) (/ 0.5 (hypot 1.0 x)))
1.6b
(- (* (- 1.0 0.5) (- 1.0 0.5)) (* (/ 0.5 (hypot 1.0 x)) (/ 0.5 (hypot 1.0 x))))

rewrite84.0ms

Algorithm
rewrite-expression-head
Rules
74×*-un-lft-identity
64×times-frac
57×add-sqr-sqrt
48×frac-sub
45×add-cube-cbrt
41×frac-times
39×flip3-- flip--
30×associate-*r/
29×associate-*l/
27×add-exp-log add-cbrt-cube associate-/l/
13×swap-sqr associate-*r* associate-*l*
12×distribute-lft-out
11×pow1
cbrt-undiv div-exp associate-/r*
difference-of-squares
prod-exp associate-/r/ cbrt-unprod div-inv add-log-exp
associate-/l* distribute-lft-out--
associate--l+ unswap-sqr
sub-neg
distribute-rgt-in frac-2neg distribute-lft-in flip3-+ frac-add clear-num flip-+
pow2 pow-plus diff-log div-sub pow-prod-down pow-sqr *-commutative pow-prod-up
Counts
4 → 208
Calls
4 calls:
25.0ms
(/ (- (* (- 1.0 0.5) (- 1.0 0.5)) (* (/ 0.5 (hypot 1.0 x)) (/ 0.5 (hypot 1.0 x)))) (+ (/ 0.5 (hypot 1.0 x)) (- 1.0 0.5)))
23.0ms
(/ (* 1.0 (/ (- (* (- 1.0 0.5) (- 1.0 0.5)) (* (/ 0.5 (hypot 1.0 x)) (/ 0.5 (hypot 1.0 x)))) (+ (/ 0.5 (hypot 1.0 x)) (- 1.0 0.5)))) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
11.0ms
(* (/ 0.5 (hypot 1.0 x)) (/ 0.5 (hypot 1.0 x)))
12.0ms
(- (* (- 1.0 0.5) (- 1.0 0.5)) (* (/ 0.5 (hypot 1.0 x)) (/ 0.5 (hypot 1.0 x))))

series126.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(/ (- (* (- 1.0 0.5) (- 1.0 0.5)) (* (/ 0.5 (hypot 1.0 x)) (/ 0.5 (hypot 1.0 x)))) (+ (/ 0.5 (hypot 1.0 x)) (- 1.0 0.5)))
71.0ms
(/ (* 1.0 (/ (- (* (- 1.0 0.5) (- 1.0 0.5)) (* (/ 0.5 (hypot 1.0 x)) (/ 0.5 (hypot 1.0 x)))) (+ (/ 0.5 (hypot 1.0 x)) (- 1.0 0.5)))) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
11.0ms
(* (/ 0.5 (hypot 1.0 x)) (/ 0.5 (hypot 1.0 x)))
14.0ms
(- (* (- 1.0 0.5) (- 1.0 0.5)) (* (/ 0.5 (hypot 1.0 x)) (/ 0.5 (hypot 1.0 x))))

simplify64.0ms

Algorithm
egg-herbie
Counts
220 → 220
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
050516002

prune949.0ms

Filtered
151 candidates to 220 candidates (-45.7%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New2137220
Fresh325
Picked101
Done000
Total2179226

Merged error: 15.7b

Counts
226 → 9

localize27.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ 0.5 (hypot 1.0 x)) (/ 0.5 (hypot 1.0 x)))
0.2b
(* (/ 0.5 (hypot 1.0 x)) (/ 0.5 (hypot 1.0 x)))
0.8b
(pow (sqrt (/ 0.5 (hypot 1.0 x))) 4)
1.6b
(- (* (* (- 1.0 0.5) (- 1.0 0.5)) (* (- 1.0 0.5) (- 1.0 0.5))) (* (* (/ 0.5 (hypot 1.0 x)) (/ 0.5 (hypot 1.0 x))) (* (/ 0.5 (hypot 1.0 x)) (/ 0.5 (hypot 1.0 x)))))

rewrite338.0ms

Algorithm
rewrite-expression-head
Rules
3402×frac-times
1621×flip3-- flip--
1542×associate-*r/ associate-*l/
1200×frac-sub
93×add-sqr-sqrt
89×times-frac
69×add-cube-cbrt *-un-lft-identity
29×add-exp-log
28×add-cbrt-cube
26×swap-sqr associate-*r* associate-*l*
20×pow1
16×unpow-prod-down
13×sqrt-prod
div-inv
cbrt-undiv distribute-rgt-in distribute-lft-in div-exp prod-exp associate--l+ cbrt-unprod unswap-sqr
add-log-exp
sub-neg
pow-unpow pow-pow
pow2 pow-plus pow-prod-down pow-sqr *-commutative pow-prod-up
pow-to-exp sqrt-pow1 pow1/2 diff-log pow-exp sqrt-pow2 difference-of-squares sqr-pow
Counts
4 → 1388
Calls
4 calls:
11.0ms
(* (/ 0.5 (hypot 1.0 x)) (/ 0.5 (hypot 1.0 x)))
11.0ms
(* (/ 0.5 (hypot 1.0 x)) (/ 0.5 (hypot 1.0 x)))
6.0ms
(pow (sqrt (/ 0.5 (hypot 1.0 x))) 4)
84.0ms
(- (* (* (- 1.0 0.5) (- 1.0 0.5)) (* (- 1.0 0.5) (- 1.0 0.5))) (* (* (/ 0.5 (hypot 1.0 x)) (/ 0.5 (hypot 1.0 x))) (* (/ 0.5 (hypot 1.0 x)) (/ 0.5 (hypot 1.0 x)))))

series66.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(* (/ 0.5 (hypot 1.0 x)) (/ 0.5 (hypot 1.0 x)))
12.0ms
(* (/ 0.5 (hypot 1.0 x)) (/ 0.5 (hypot 1.0 x)))
26.0ms
(pow (sqrt (/ 0.5 (hypot 1.0 x))) 4)
18.0ms
(- (* (* (- 1.0 0.5) (- 1.0 0.5)) (* (- 1.0 0.5) (- 1.0 0.5))) (* (* (/ 0.5 (hypot 1.0 x)) (/ 0.5 (hypot 1.0 x))) (* (/ 0.5 (hypot 1.0 x)) (/ 0.5 (hypot 1.0 x)))))

simplify592.0ms

Algorithm
egg-herbie
Counts
1400 → 1400
Iterations

Useful iterations: 0 (98.0ms)

IterNodesCost
0540198992

prune38.4s

Filtered
1099 candidates to 1400 candidates (-27.4%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New139551400
Fresh448
Picked101
Done000
Total140091409

Merged error: 15.7b

Counts
1409 → 9

regimes601.0ms

Accuracy

0% (0.3b remaining)

Error of 15.1b against oracle of 14.8b and baseline of 15.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02950
12950

end0.0ms

sample1.2s

Algorithm
intervals
Results
656.0ms2911×body1280valid
173.0ms3981×body80valid
118.0ms631×body640valid
39.0ms304×body320valid
14.0ms173×body160valid

Profiling

Loading profile data...