Details

Time bar (total: 3.0s)

sample23.0ms

Algorithm
intervals
Results
12.0ms323×body80valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0166
1296
2386
3456
4516
5546
6546

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 2.3b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (/ (+ x 4.0) y) (* (/ x y) z))
0.0b
(/ (+ x 4.0) y)
3.4b
(* (/ x y) z)

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
28×*-un-lft-identity
25×add-sqr-sqrt
22×times-frac
20×add-cube-cbrt
13×associate-*l*
10×add-exp-log add-cbrt-cube
pow1 add-log-exp
distribute-lft-out associate-/l*
associate-*r* associate-*l/ associate-/r*
cbrt-undiv div-exp prod-exp cbrt-unprod div-inv associate-/l/ unswap-sqr
sub-neg flip3-- frac-2neg flip3-+ diff-log pow-prod-down clear-num *-commutative frac-sub flip-- flip-+ sub-div
Counts
3 → 79
Calls
3 calls:
8.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
5.0ms
(/ (+ x 4.0) y)
6.0ms
(* (/ x y) z)

series93.0ms

Counts
3 → 9
Calls
3 calls:
42.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
30.0ms
(/ (+ x 4.0) y)
21.0ms
(* (/ x y) z)

simplify130.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0341425
11212395
24978394
35002394

prune216.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (+ (* 4.0 (/ 1 y)) (/ x y)) (* (/ x y) z))
0.0b
(* 4.0 (/ 1 y))
0.0b
(+ (* 4.0 (/ 1 y)) (/ x y))
3.4b
(* (/ x y) z)

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
21×*-un-lft-identity times-frac
20×add-cube-cbrt
18×add-exp-log
16×associate-*r* associate-*l*
14×add-cbrt-cube
11×add-log-exp
pow1
prod-exp
associate-*l/ unswap-sqr
frac-add frac-sub cbrt-unprod
associate-*r/ div-exp un-div-inv div-inv
cbrt-undiv flip3-+ diff-log pow-prod-down sum-log *-commutative flip-+
+-commutative sub-neg rec-exp distribute-rgt-out flip3-- 1-exp associate--l+ flip--
Counts
4 → 100
Calls
4 calls:
14.0ms
(- (+ (* 4.0 (/ 1 y)) (/ x y)) (* (/ x y) z))
7.0ms
(* 4.0 (/ 1 y))
7.0ms
(+ (* 4.0 (/ 1 y)) (/ x y))
6.0ms
(* (/ x y) z)

series111.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(- (+ (* 4.0 (/ 1 y)) (/ x y)) (* (/ x y) z))
16.0ms
(* 4.0 (/ 1 y))
26.0ms
(+ (* 4.0 (/ 1 y)) (/ x y))
21.0ms
(* (/ x y) z)

simplify60.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0484605
12035536
25002501

prune266.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (/ (+ x 4.0) y) (* x (/ z y)))
0.0b
(/ (+ x 4.0) y)
4.9b
(* x (/ z y))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
28×*-un-lft-identity
25×add-sqr-sqrt
22×times-frac
20×add-cube-cbrt
13×associate-*r*
10×add-exp-log add-cbrt-cube
pow1 add-log-exp
distribute-lft-out associate-/l*
associate-*r/ associate-*l* associate-/r*
cbrt-undiv div-exp prod-exp cbrt-unprod div-inv associate-/l/ unswap-sqr
sub-neg flip3-- frac-2neg flip3-+ diff-log pow-prod-down clear-num *-commutative frac-sub flip-- flip-+ sub-div
Counts
3 → 79
Calls
3 calls:
8.0ms
(- (/ (+ x 4.0) y) (* x (/ z y)))
5.0ms
(/ (+ x 4.0) y)
6.0ms
(* x (/ z y))

series94.0ms

Counts
3 → 9
Calls
3 calls:
44.0ms
(- (/ (+ x 4.0) y) (* x (/ z y)))
27.0ms
(/ (+ x 4.0) y)
24.0ms
(* x (/ z y))

simplify47.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0349430
11432403
25001403

prune208.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.7b
(cbrt (/ 1 y))
0.7b
(cbrt (/ 1 y))
0.7b
(cbrt (/ 1 y))
3.4b
(* (/ x y) z)

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
39×cbrt-prod
38×add-sqr-sqrt
37×times-frac
33×add-cube-cbrt *-un-lft-identity
13×associate-*l*
add-exp-log add-cbrt-cube
pow1
div-inv add-log-exp
cbrt-div pow1/3 associate-*r*
prod-exp cbrt-unprod unswap-sqr
cbrt-undiv div-exp pow-prod-down associate-*l/ *-commutative
Counts
4 → 98
Calls
4 calls:
2.0ms
(cbrt (/ 1 y))
2.0ms
(cbrt (/ 1 y))
2.0ms
(cbrt (/ 1 y))
6.0ms
(* (/ x y) z)

series558.0ms

Counts
4 → 12
Calls
4 calls:
179.0ms
(cbrt (/ 1 y))
173.0ms
(cbrt (/ 1 y))
182.0ms
(cbrt (/ 1 y))
22.0ms
(* (/ x y) z)

simplify73.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 3 (65.0ms)

IterNodesCost
0230521
1733491
22644463
35002406

prune261.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

regimes100.0ms

Accuracy

96.3% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 3.6b

bsearch77.0ms

Steps
ItersRangePoint
7
2.289162948056721e-13
5.6830429974523395e-11
2.1896364681112564e-12
9
-5.707103627653127e+29
-7.282118559802514e+22
-1.5424594366857613e+29

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04027
14027

end0.0ms

sample502.0ms

Algorithm
intervals
Results
296.0ms10070×body80valid