Details

Time bar (total: 3.6s)

sample22.0ms

Algorithm
intervals
Results
9.0ms324×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: 1.3b

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite87.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:
19.0ms
(/ (+ x 4.0) y)
51.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
14.0ms
(* (/ x y) z)

series97.0ms

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

simplify127.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0341425
11212395
24978394
35002394

prune195.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 2 expressions with local error:

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

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
13×*-un-lft-identity associate-*l*
11×associate-*r/
10×add-cube-cbrt times-frac frac-add
add-exp-log add-cbrt-cube
frac-times flip3-- associate-*r* flip--
un-div-inv
pow1 distribute-rgt-in sub-neg associate-+l+ distribute-lft-in add-log-exp
associate-*l/
prod-exp cbrt-unprod difference-of-squares unswap-sqr
cbrt-undiv +-commutative flip3-+ div-exp pow-prod-down sum-log *-commutative flip-+ div-inv distribute-lft-out--
Counts
2 → 68
Calls
2 calls:
18.0ms
(+ (* (/ x y) (- 1 z)) (* 4.0 (/ 1 y)))
30.0ms
(* (/ x y) (- 1 z))

series91.0ms

Counts
2 → 6
Calls
2 calls:
44.0ms
(+ (* (/ x y) (- 1 z)) (* 4.0 (/ 1 y)))
46.0ms
(* (/ x y) (- 1 z))

simplify54.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0416496
11863440
25001435

prune168.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt z)
0.5b
(cbrt z)
1.0b
(* (* (/ x y) (* (cbrt z) (cbrt z))) (cbrt z))
1.9b
(* (/ x y) (* (cbrt z) (cbrt z)))

rewrite118.0ms

Algorithm
rewrite-expression-head
Rules
34×add-exp-log
21×add-cbrt-cube
18×pow1 add-sqr-sqrt
17×prod-exp cbrt-unprod
15×add-cube-cbrt *-un-lft-identity
14×associate-*l*
10×times-frac
cbrt-prod pow-prod-down
associate-*r*
cbrt-undiv div-exp add-log-exp
associate-*l/
pow1/3 *-commutative unswap-sqr
div-inv
Counts
4 → 86
Calls
4 calls:
1.0ms
(cbrt z)
1.0ms
(cbrt z)
84.0ms
(* (* (/ x y) (* (cbrt z) (cbrt z))) (cbrt z))
30.0ms
(* (/ x y) (* (cbrt z) (cbrt z)))

series503.0ms

Counts
4 → 12
Calls
4 calls:
170.0ms
(cbrt z)
176.0ms
(cbrt z)
43.0ms
(* (* (/ x y) (* (cbrt z) (cbrt z))) (cbrt z))
114.0ms
(* (/ x y) (* (cbrt z) (cbrt z)))

simplify49.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0338616
11545447
25002401

prune268.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt x)
0.6b
(cbrt x)
0.8b
(* (/ (cbrt x) y) z)
3.8b
(* (/ (* (cbrt x) (cbrt x)) 1) (* (/ (cbrt x) y) z))

rewrite73.0ms

Algorithm
rewrite-expression-head
Rules
66×add-exp-log
35×add-cbrt-cube
33×prod-exp
30×add-sqr-sqrt
29×associate-*l*
23×times-frac
22×add-cube-cbrt *-un-lft-identity
20×cbrt-unprod
18×div-exp
16×cbrt-prod
11×pow1
10×cbrt-undiv
1-exp
associate-*r* pow-prod-down associate-*l/ add-log-exp
unswap-sqr
pow1/3 *-commutative div-inv
frac-times associate-*r/
Counts
4 → 109
Calls
4 calls:
1.0ms
(cbrt x)
1.0ms
(cbrt x)
18.0ms
(* (/ (cbrt x) y) z)
48.0ms
(* (/ (* (cbrt x) (cbrt x)) 1) (* (/ (cbrt x) y) z))

series525.0ms

Counts
4 → 12
Calls
4 calls:
177.0ms
(cbrt x)
181.0ms
(cbrt x)
121.0ms
(* (/ (cbrt x) y) z)
45.0ms
(* (/ (* (cbrt x) (cbrt x)) 1) (* (/ (cbrt x) y) z))

simplify68.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
0473760
12324591
25002518

prune305.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0.0b

regimes86.0ms

Accuracy

91.1% (0.1b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 1.7b

bsearch77.0ms

Steps
ItersRangePoint
8
4.2737648854656724e-63
5.406292548770686e-59
4.400414701830006e-62
9
-4.137736254371508e-14
-1.5039956710466002e-21
-3.1410657509458458e-15

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03012
13012

end0.0ms

sample575.0ms

Algorithm
intervals
Results
290.0ms10152×body80valid