Details

Time bar (total: 2.4s)

sample30.0ms

Algorithm
intervals
Results
19.0ms337×body80valid

simplify75.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0224
1444
21144
32204
43544
55504
616694
750014

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 10.9b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(* x (+ (- y z) 1.0))
10.2b
(/ (* x (+ (- y z) 1.0)) z)

rewrite59.0ms

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity
add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt
associate-*r*
pow1 associate-*r/
times-frac associate-*l* associate-/r*
cbrt-undiv flip3-+ div-exp prod-exp cbrt-unprod flip-+ associate-/l/ distribute-lft-out add-log-exp
distribute-rgt-in frac-2neg distribute-lft-in pow-prod-down clear-num *-commutative div-inv associate-/l* distribute-lft-out-- unswap-sqr
Counts
2 → 47
Calls
2 calls:
40.0ms
(* x (+ (- y z) 1.0))
17.0ms
(/ (* x (+ (- y z) 1.0)) z)

series73.0ms

Counts
2 → 6
Calls
2 calls:
35.0ms
(* x (+ (- y z) 1.0))
38.0ms
(/ (* x (+ (- y z) 1.0)) z)

simplify43.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0254285
11225238
25001238

prune93.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0b

localize12.0ms

Local error

Found 3 expressions with local error:

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

rewrite53.0ms

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

series107.0ms

Counts
3 → 9
Calls
3 calls:
39.0ms
(- (+ (/ (* x y) z) (* 1.0 (/ x z))) x)
48.0ms
(+ (/ (* x y) z) (* 1.0 (/ x z)))
20.0ms
(/ (* x y) z)

simplify48.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0254367
11124344
25002325

prune115.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite88.0ms

Algorithm
rewrite-expression-head
Rules
25×add-exp-log
15×add-cbrt-cube
13×associate-*r*
12×add-sqr-sqrt *-un-lft-identity prod-exp
10×add-cube-cbrt add-log-exp
times-frac
pow1
cbrt-unprod
associate-*r/ div-exp
pow-prod-down
cbrt-undiv rec-exp diff-log 1-exp frac-add sum-log un-div-inv
+-commutative sub-neg flip3-- flip3-+ associate-*l* associate--l+ *-commutative flip-- flip-+ div-inv distribute-lft-out-- difference-of-squares
Counts
3 → 67
Calls
3 calls:
68.0ms
(- (+ (* (* x y) (/ 1 z)) (* 1.0 (/ x z))) x)
8.0ms
(+ (* (* x y) (/ 1 z)) (* 1.0 (/ x z)))
10.0ms
(* (* x y) (/ 1 z))

series101.0ms

Counts
3 → 9
Calls
3 calls:
37.0ms
(- (+ (* (* x y) (/ 1 z)) (* 1.0 (/ x z))) x)
45.0ms
(+ (* (* x y) (/ 1 z)) (* 1.0 (/ x z)))
19.0ms
(* (* x y) (/ 1 z))

simplify53.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0399505
11931442
25002412

prune126.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (+ (* x (/ y z)) (* 1.0 (/ x z))) x)
0.0b
(+ (* x (/ y z)) (* 1.0 (/ x z)))
6.9b
(* x (/ y z))

rewrite43.0ms

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

series101.0ms

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

simplify54.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0312414
11437392
25001376

prune126.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

regimes73.0ms

Accuracy

47.4% (1.7b remaining)

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

bsearch41.0ms

Steps
ItersRangePoint
9
3.6222469794403684e-107
2.8787808973289545e-98
3.5216806508699143e-102

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02611
12611

end0.0ms

sample845.0ms

Algorithm
intervals
Results
614.0ms10017×body80valid