Details

Time bar (total: 1.9s)

sample17.0ms

Algorithm
intervals
Results
8.0ms320×body80valid

simplify59.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: 9.8b

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite17.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
(* y (- z x))
3.0ms
(+ x (* y (- z x)))
5.0ms
(/ (+ x (* y (- z x))) z)

series111.0ms

Counts
3 → 9
Calls
3 calls:
36.0ms
(* y (- z x))
28.0ms
(+ x (* y (- z x)))
47.0ms
(/ (+ x (* y (- z x))) z)

simplify116.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0259420
11042388
24784388
35002388

prune140.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 4.3b

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite22.0ms

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

series66.0ms

Counts
3 → 9
Calls
3 calls:
19.0ms
(+ (/ x z) y)
28.0ms
(- (+ (/ x z) y) (/ (* x y) z))
18.0ms
(/ (* x y) z)

simplify32.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0253328
11102308
25001304

prune108.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite22.0ms

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

series67.0ms

Counts
3 → 9
Calls
3 calls:
17.0ms
(+ (/ x z) y)
27.0ms
(- (+ (/ x z) y) (* (/ x z) y))
23.0ms
(* (/ x z) y)

simplify34.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0283342
11146327
25001320

prune142.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite33.0ms

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

series72.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0380477
11584418
25001398

prune196.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

regimes100.0ms

Accuracy

74.3% (0.9b remaining)

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

bsearch64.0ms

Steps
ItersRangePoint
8
1.8027809579807573e-108
1.5766170712853413e-105
1.5600118666019385e-105
8
-4.972566247523887e+110
-3.3703299019930205e+106
-4.754584514458235e+106

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03010
13010

end0.0ms

sample445.0ms

Algorithm
intervals
Results
244.0ms10124×body80valid