Details

Time bar (total: 1.3s)

sample18.0ms

Algorithm
intervals
Results
8.0ms316×body80valid

simplify69.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0224
1444
21144
32204
43544
55504
616694
750024

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 9.6b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite18.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:
8.0ms
(* x (+ (- y z) 1.0))
9.0ms
(/ (* x (+ (- y z) 1.0)) z)

series72.0ms

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

simplify36.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0254285
11225238
25001238

prune111.0ms

Filtered
53 candidates to 35 candidates (66.0%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New48553
Fresh000
Picked101
Done000
Total49554

Merged error: 0.0b

Counts
54 → 5

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.2b
(/ (* x y) z)

rewrite18.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:
7.0ms
(- (+ (/ (* x y) z) (* 1.0 (/ x z))) x)
5.0ms
(+ (/ (* x y) z) (* 1.0 (/ x z)))
4.0ms
(/ (* x y) z)

series101.0ms

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

simplify33.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0254367
11124344
25002325

prune89.0ms

Filtered
58 candidates to 40 candidates (69.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New57158
Fresh224
Picked011
Done000
Total59463

Merged error: 0.0b

Counts
63 → 4

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite16.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)
8.0ms
(* (/ x z) (+ 1.0 y))

series78.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0368304
11376281
25001278

prune85.0ms

Filtered
59 candidates to 42 candidates (71.2%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New59059
Fresh022
Picked011
Done011
Total59463

Merged error: 0.0b

Counts
63 → 4

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ z (+ (- y z) 1.0))
3.5b
(/ x (/ z (+ (- y z) 1.0)))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
150×*-un-lft-identity
138×times-frac
70×add-sqr-sqrt add-cube-cbrt
32×distribute-lft-out
26×associate-/r*
16×distribute-lft-out--
11×associate-/r/
add-exp-log add-cbrt-cube
div-inv associate-/l*
flip3-+ flip-+
cbrt-undiv div-exp
pow1 frac-2neg clear-num add-log-exp
Counts
2 → 139
Calls
2 calls:
7.0ms
(/ z (+ (- y z) 1.0))
14.0ms
(/ x (/ z (+ (- y z) 1.0)))

series89.0ms

Counts
2 → 6
Calls
2 calls:
49.0ms
(/ z (+ (- y z) 1.0))
40.0ms
(/ x (/ z (+ (- y z) 1.0)))

simplify58.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
04551177
121101129
250031126

prune198.0ms

Filtered
145 candidates to 93 candidates (64.1%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1441145
Fresh011
Picked011
Done022
Total1445149

Merged error: 0b

Counts
149 → 5

regimes72.0ms

bsearch2.0ms

Profiling

Loading profile data...