Details

Time bar (total: 4.3s)

sample29.0ms

Algorithm
intervals
Results
13.0ms431×body80valid

simplify53.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0227
1557
21017
31827
43357
57317
618287
750017

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 26.0b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x x) (* y y))
3.5b
(- (+ (* x x) (* y y)) (* z z))
24.2b
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

rewrite117.0ms

Algorithm
rewrite-expression-head
Rules
10×add-log-exp
add-exp-log add-sqr-sqrt add-cbrt-cube
add-cube-cbrt *-un-lft-identity
times-frac associate-/l*
pow1 difference-of-squares
cbrt-undiv flip3-- diff-log div-exp sum-log flip-- associate-/l/
+-commutative sub-neg frac-2neg flip3-+ div-sub prod-exp associate--l+ clear-num associate-/r* cbrt-unprod flip-+ div-inv
Counts
3 → 52
Calls
3 calls:
8.0ms
(+ (* x x) (* y y))
38.0ms
(- (+ (* x x) (* y y)) (* z z))
70.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

series157.0ms

Counts
3 → 9
Calls
3 calls:
30.0ms
(+ (* x x) (* y y))
43.0ms
(- (+ (* x x) (* y y)) (* z z))
84.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

simplify39.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0337520
11492454
25001446

prune150.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 8.5b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ y (/ (pow x 2) y))
0.0b
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
6.6b
(/ (pow z 2) y)
9.0b
(/ (pow x 2) y)

rewrite197.0ms

Algorithm
rewrite-expression-head
Rules
52×times-frac
50×add-sqr-sqrt
45×*-un-lft-identity
38×add-cube-cbrt
25×unpow-prod-down
16×associate-/l*
14×add-exp-log
11×add-log-exp
unpow2 sqr-pow
add-cbrt-cube
div-exp associate-/r*
difference-of-squares
pow1
cbrt-undiv pow-to-exp frac-2neg flip3-+ diff-log pow-exp clear-num sum-log frac-sub flip-+ div-inv distribute-lft-out distribute-lft-out--
+-commutative sub-neg flip3-- associate--l+ flip--
Counts
4 → 133
Calls
4 calls:
17.0ms
(+ y (/ (pow x 2) y))
159.0ms
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
8.0ms
(/ (pow z 2) y)
9.0ms
(/ (pow x 2) y)

series111.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(+ y (/ (pow x 2) y))
42.0ms
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
19.0ms
(/ (pow z 2) y)
22.0ms
(/ (pow x 2) y)

simplify48.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0419838
11459771
25001759

prune332.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 1.3b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ y (/ x (/ y x)))
0.0b
(- (+ y (/ x (/ y x))) (/ (pow z 2) y))
0.1b
(/ x (/ y x))
6.6b
(/ (pow z 2) y)

rewrite249.0ms

Algorithm
rewrite-expression-head
Rules
103×times-frac
75×add-sqr-sqrt
70×*-un-lft-identity
63×add-cube-cbrt
16×associate-/r*
14×add-exp-log
13×unpow-prod-down
11×add-cbrt-cube associate-/l* add-log-exp
div-exp div-inv
unpow2 difference-of-squares sqr-pow
pow1 cbrt-undiv
frac-2neg flip3-+ diff-log clear-num sum-log frac-sub flip-+ distribute-lft-out distribute-lft-out--
+-commutative pow-to-exp sub-neg flip3-- pow-exp associate--l+ associate-/r/ flip--
Counts
4 → 154
Calls
4 calls:
22.0ms
(+ y (/ x (/ y x)))
204.0ms
(- (+ y (/ x (/ y x))) (/ (pow z 2) y))
8.0ms
(/ x (/ y x))
9.0ms
(/ (pow z 2) y)

series117.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(+ y (/ x (/ y x)))
44.0ms
(- (+ y (/ x (/ y x))) (/ (pow z 2) y))
19.0ms
(/ x (/ y x))
23.0ms
(/ (pow z 2) y)

simplify74.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
06051049
12708969
25001963

prune387.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt z)
0.6b
(cbrt z)
0.7b
(pow (cbrt z) 4)
2.3b
(* (pow (cbrt z) 4) (/ (pow (cbrt z) 2) y))

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
87×add-sqr-sqrt
53×times-frac
50×unpow-prod-down
37×associate-*r*
33×add-cube-cbrt *-un-lft-identity
31×add-exp-log cbrt-prod
24×unswap-sqr
15×sqr-pow
12×prod-exp
10×associate-*l*
div-exp add-cbrt-cube
pow-to-exp pow-exp
unpow2
pow1
add-log-exp
pow-unpow pow1/3
pow-pow cbrt-unprod
cbrt-undiv associate-*r/ *-commutative div-inv
Counts
4 → 137
Calls
4 calls:
1.0ms
(cbrt z)
1.0ms
(cbrt z)
3.0ms
(pow (cbrt z) 4)
40.0ms
(* (pow (cbrt z) 4) (/ (pow (cbrt z) 2) y))

series628.0ms

Counts
4 → 12
Calls
4 calls:
182.0ms
(cbrt z)
175.0ms
(cbrt z)
225.0ms
(pow (cbrt z) 4)
45.0ms
(* (pow (cbrt z) 4) (/ (pow (cbrt z) 2) y))

simplify71.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
05401078
12493881
25001851

prune411.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

regimes112.0ms

Accuracy

53.4% (0.9b remaining)

Error of 1.1b against oracle of 0.3b and baseline of 2.2b

bsearch67.0ms

Steps
ItersRangePoint
7
-8.868718410322894e-308
2.7610500145364405e-308
1.1428627185424e-311

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02923
12923

end0.0ms

sample827.0ms

Algorithm
intervals
Results
439.0ms13736×body80valid