Details

Time bar (total: 2.2s)

sample19.0ms

Algorithm
intervals
Results
8.0ms339×body80valid

simplify69.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)

rewrite58.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:
39.0ms
(* x (+ (- y z) 1.0))
17.0ms
(/ (* x (+ (- y z) 1.0)) z)

series71.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0254285
11225238
25001238

prune99.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.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)))
5.6b
(/ (* x y) z)

rewrite52.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:
41.0ms
(- (+ (/ (* x y) z) (* 1.0 (/ x z))) x)
6.0ms
(+ (/ (* x y) z) (* 1.0 (/ x z)))
3.0ms
(/ (* x y) z)

series106.0ms

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

simplify36.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0254367
11124344
25002325

prune115.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (* (/ x z) (+ 1.0 y)) x)
2.7b
(* (/ 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)
14.0ms
(* (/ x z) (+ 1.0 y))

series78.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0368304
11376281
25001278

prune113.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite200.0ms

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

series107.0ms

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

simplify54.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0471734
12017690
25002667

prune235.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0b

regimes79.0ms

Accuracy

92.8% (0.1b remaining)

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

bsearch74.0ms

Steps
ItersRangePoint
10
3.0363085462928273e-66
4.862453958107598e-51
3.8730830355980695e-51
8
-4.269709194350964e-29
-1.2918368758145967e-31
-5.040876321509936e-30

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02916
12916

end0.0ms

sample467.0ms

Algorithm
intervals
Results
255.0ms10048×body80valid