Details

Time bar (total: 3.3s)

sample21.0ms

Algorithm
intervals
Results
10.0ms323×body80valid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0166
1296
2386
3456
4516
5546
6546

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
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)

rewrite50.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:
28.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
8.0ms
(/ (+ x 4.0) y)
8.0ms
(* (/ x y) z)

series94.0ms

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

simplify115.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0341425
11212395
24978394
35002394

prune206.0ms

Filtered
88 candidates to 63 candidates (71.6%)
Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize9.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)

rewrite97.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:
71.0ms
(- (+ (* 4.0 (/ 1 y)) (/ x y)) (* (/ x y) z))
8.0ms
(* 4.0 (/ 1 y))
8.0ms
(+ (* 4.0 (/ 1 y)) (/ x y))
8.0ms
(* (/ x y) z)

series105.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(- (+ (* 4.0 (/ 1 y)) (/ x y)) (* (/ x y) z))
15.0ms
(* 4.0 (/ 1 y))
28.0ms
(+ (* 4.0 (/ 1 y)) (/ x y))
20.0ms
(* (/ x y) z)

simplify50.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0484605
12035536
25002501

prune289.0ms

Filtered
112 candidates to 78 candidates (69.6%)
Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize8.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))

rewrite48.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:
27.0ms
(- (/ (+ x 4.0) y) (* x (/ z y)))
8.0ms
(/ (+ x 4.0) y)
11.0ms
(* x (/ z y))

series90.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0349430
11432403
25001403

prune215.0ms

Filtered
88 candidates to 61 candidates (69.3%)
Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize13.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)

rewrite16.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))
8.0ms
(* (/ x y) z)

series580.0ms

Counts
4 → 12
Calls
4 calls:
206.0ms
(cbrt (/ 1 y))
174.0ms
(cbrt (/ 1 y))
179.0ms
(cbrt (/ 1 y))
21.0ms
(* (/ x y) z)

simplify65.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 3 (53.0ms)

IterNodesCost
0230521
1733491
22644463
35002406

prune257.0ms

Filtered
110 candidates to 70 candidates (63.6%)
Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

regimes135.0ms

Accuracy

96.3% (0.1b remaining)

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

bsearch221.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

sample519.0ms

Algorithm
intervals
Results
305.0ms10070×body80valid