Details

Time bar (total: 1.9s)

sample21.0ms

Algorithm
intervals
Results
11.0ms329×body80valid

simplify68.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: 9.4b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(* x (+ (- y z) 1.0))
8.8b
(/ (* 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:
37.0ms
(* x (+ (- y z) 1.0))
18.0ms
(/ (* x (+ (- y z) 1.0)) z)

series72.0ms

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

simplify58.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0254285
11225238
25001238

prune120.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) z) (* 1.0 (/ x z))) x)
0.0b
(+ (/ (* x y) z) (* 1.0 (/ x z)))
5.6b
(/ (* x y) z)

rewrite55.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:
44.0ms
(- (+ (/ (* x y) z) (* 1.0 (/ x z))) x)
6.0ms
(+ (/ (* x y) z) (* 1.0 (/ x z)))
4.0ms
(/ (* x y) z)

series107.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0254367
11124344
25002325

prune123.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) (+ 1.0 y)) x)
3.0b
(* (/ x z) (+ 1.0 y))

rewrite23.0ms

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

series80.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0368304
11376281
25001278

prune119.0ms

Pruning

5 alts after pruning (3 fresh and 2 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.7b
(* (* x y) (/ 1 z))

rewrite89.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:
65.0ms
(- (+ (* (* x y) (/ 1 z)) (* 1.0 (/ x z))) x)
8.0ms
(+ (* (* x y) (/ 1 z)) (* 1.0 (/ x z)))
14.0ms
(* (* x y) (/ 1 z))

series107.0ms

Counts
3 → 9
Calls
3 calls:
42.0ms
(- (+ (* (* x y) (/ 1 z)) (* 1.0 (/ x z))) x)
42.0ms
(+ (* (* x y) (/ 1 z)) (* 1.0 (/ x z)))
22.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 (2 fresh and 3 done)

Merged error: 0b

regimes64.0ms

Accuracy

0% (1.5b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0104
1104

end0.0ms

sample454.0ms

Algorithm
intervals
Results
250.0ms10199×body80valid