Details

Time bar (total: 3.5s)

sample31.0ms

Algorithm
intervals
Results
20.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: 1.5b

localize9.0ms

Local error

Found 3 expressions with local error:

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

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

series93.0ms

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

simplify116.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0341425
11212395
24978394
35002394

prune212.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 2 expressions with local error:

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

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

series87.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0416496
11863440
25001435

prune179.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt y)
0.6b
(cbrt y)
0.6b
(cbrt y)
4.1b
(* (/ x y) z)

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
13×associate-*l*
10×times-frac
add-exp-log cbrt-prod add-cbrt-cube
pow1
add-log-exp
pow1/3 associate-*r*
prod-exp cbrt-unprod unswap-sqr
cbrt-undiv div-exp pow-prod-down associate-*l/ *-commutative div-inv
Counts
4 → 65
Calls
4 calls:
0.0ms
(cbrt y)
0.0ms
(cbrt y)
1.0ms
(cbrt y)
8.0ms
(* (/ x y) z)

series568.0ms

Counts
4 → 12
Calls
4 calls:
172.0ms
(cbrt y)
200.0ms
(cbrt y)
175.0ms
(cbrt y)
21.0ms
(* (/ x y) z)

simplify54.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 3 (49.0ms)

IterNodesCost
0186245
1643221
22420214
35001211

prune238.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (- (/ (+ x 4.0) y) (* (/ x y) z)))
4.1b
(* (/ x y) z)
4.1b
(* (/ x y) z)
4.1b
(* (/ x y) z)

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
44×add-sqr-sqrt
39×associate-*l*
30×times-frac
29×add-cube-cbrt *-un-lft-identity
19×add-exp-log add-cbrt-cube
10×pow1
associate-*r*
prod-exp cbrt-unprod unswap-sqr
associate-*l/
cbrt-div add-log-exp
cbrt-undiv cbrt-prod div-exp pow-prod-down *-commutative div-inv
flip3-- pow1/3 frac-sub flip-- sub-div
Counts
4 → 111
Calls
4 calls:
16.0ms
(cbrt (- (/ (+ x 4.0) y) (* (/ x y) z)))
8.0ms
(* (/ x y) z)
8.0ms
(* (/ x y) z)
8.0ms
(* (/ x y) z)

series215.0ms

Counts
4 → 12
Calls
4 calls:
153.0ms
(cbrt (- (/ (+ x 4.0) y) (* (/ x y) z)))
20.0ms
(* (/ x y) z)
20.0ms
(* (/ x y) z)
21.0ms
(* (/ x y) z)

simplify39.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0359640
11216593
25002583

prune368.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.0b

regimes143.0ms

Accuracy

86.7% (0.3b remaining)

Error of 0.3b against oracle of 0.0b and baseline of 2.5b

bsearch68.0ms

Steps
ItersRangePoint
3
5.094789947490101e-76
6.385300322813217e-76
6.062262515983192e-76
9
-9.104669698408525e+86
-1.782244725936423e+81
-7.344677228311482e+84

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02611
12611

end0.0ms

sample843.0ms

Algorithm
intervals
Results
627.0ms10155×body80valid