Details

Time bar (total: 2.5s)

sample17.0ms

Algorithm
intervals
Results
8.0ms332×body80valid

simplify57.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0114
1184
2324
3474
4574
5754
61094
71784
83974
913694
1050014

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 8.9b

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ x (* y (- z x)))
0.0b
(* y (- z x))
8.2b
(/ (+ x (* y (- z x))) z)

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
15×*-un-lft-identity
13×add-cube-cbrt
times-frac
add-exp-log add-cbrt-cube
pow1 associate-*r* add-log-exp
distribute-rgt-in sub-neg associate-+r+ distribute-lft-in
associate-*l* associate-/r* associate-/l*
flip3-+ associate-*r/ flip-+ associate-/l/
cbrt-undiv +-commutative flip3-- frac-2neg div-exp pow-prod-down prod-exp clear-num sum-log *-commutative flip-- cbrt-unprod div-inv distribute-lft-out-- difference-of-squares unswap-sqr
Counts
3 → 70
Calls
3 calls:
6.0ms
(+ x (* y (- z x)))
6.0ms
(* y (- z x))
5.0ms
(/ (+ x (* y (- z x))) z)

series108.0ms

Counts
3 → 9
Calls
3 calls:
31.0ms
(+ x (* y (- z x)))
34.0ms
(* y (- z x))
43.0ms
(/ (+ x (* y (- z x))) z)

simplify114.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0259420
11042388
24783388
35001388

prune142.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 2.8b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (+ (/ x z) y) (/ (* x y) z))
6.4b
(/ (* x y) z)

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
add-exp-log add-cbrt-cube add-log-exp
add-sqr-sqrt
add-cube-cbrt
times-frac associate-/r*
pow1 cbrt-undiv diff-log div-exp frac-sub distribute-lft-out--
sub-neg flip3-- frac-2neg flip3-+ prod-exp associate--l+ clear-num sum-log flip-- cbrt-unprod flip-+ div-inv distribute-lft-out associate-/l* difference-of-squares
Counts
2 → 40
Calls
2 calls:
10.0ms
(- (+ (/ x z) y) (/ (* x y) z))
4.0ms
(/ (* x y) z)

series50.0ms

Counts
2 → 6
Calls
2 calls:
32.0ms
(- (+ (/ x z) y) (/ (* x y) z))
18.0ms
(/ (* x y) z)

simplify32.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0244274
11067254
25001250

prune87.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (+ (/ x z) y) (* (/ x z) y))
3.3b
(* (/ x z) y)

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
13×associate-*l*
10×add-cube-cbrt *-un-lft-identity times-frac
add-exp-log add-cbrt-cube add-log-exp
pow1
associate-*r* associate-*l/
diff-log prod-exp frac-sub cbrt-unprod unswap-sqr
cbrt-undiv sub-neg flip3-- flip3-+ div-exp pow-prod-down associate--l+ sum-log *-commutative flip-- flip-+ div-inv
Counts
2 → 48
Calls
2 calls:
8.0ms
(- (+ (/ x z) y) (* (/ x z) y))
6.0ms
(* (/ x z) y)

series47.0ms

Counts
2 → 6
Calls
2 calls:
27.0ms
(- (+ (/ x z) y) (* (/ x z) y))
20.0ms
(* (/ x z) y)

simplify33.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0273288
11091273
25001265

prune106.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt z)
0.5b
(cbrt z)
0.5b
(* (cbrt z) (cbrt z))
3.5b
(* (/ x (* (cbrt z) (cbrt z))) (/ y (cbrt z)))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
53×add-sqr-sqrt
33×cbrt-prod
29×add-cube-cbrt *-un-lft-identity
28×times-frac associate-*r*
27×add-exp-log
18×add-cbrt-cube
13×pow1 associate-*l*
10×unswap-sqr
prod-exp cbrt-unprod
pow1/3
cbrt-undiv div-exp
swap-sqr
add-log-exp
pow-prod-down
pow-sqr *-commutative pow-prod-up div-inv
pow2 frac-times pow-plus associate-*r/ associate-*l/
Counts
4 → 121
Calls
4 calls:
1.0ms
(cbrt z)
1.0ms
(cbrt z)
5.0ms
(* (cbrt z) (cbrt z))
14.0ms
(* (/ x (* (cbrt z) (cbrt z))) (/ y (cbrt z)))

series639.0ms

Counts
4 → 12
Calls
4 calls:
219.0ms
(cbrt z)
178.0ms
(cbrt z)
191.0ms
(* (cbrt z) (cbrt z))
51.0ms
(* (/ x (* (cbrt z) (cbrt z))) (/ y (cbrt z)))

simplify86.0ms

Algorithm
egg-herbie
Counts
133 → 133
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
0483852
12842688
25001637

prune323.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes65.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
095
195

end0.0ms

sample447.0ms

Algorithm
intervals
Results
243.0ms10110×body80valid