Details

Time bar (total: 1.8s)

analyze866.0ms

Algorithm
search
sampling

Space saved by range analysis: 0.146413%

Space saved by search: 14.09081%

Guaranteed chance to sample good point: 77.834137%

sample17.0ms

Algorithm
intervals
Results
7.0ms256×body80valid
1.0ms29×body80invalid

simplify52.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0114
1184
2324
3474
4574
5754
61094
71784
83974
913694
1050014

prune3.0ms

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

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
14×*-un-lft-identity
12×add-cube-cbrt
times-frac
add-exp-log add-cbrt-cube
associate-*r*
pow1
associate-*l* associate-/r* associate-/l*
distribute-rgt-in sub-neg distribute-lft-in associate-*r/ associate-/l/ add-log-exp
cbrt-undiv flip3-- frac-2neg flip3-+ div-exp pow-prod-down prod-exp clear-num *-commutative flip-- cbrt-unprod flip-+ div-inv distribute-lft-out-- difference-of-squares unswap-sqr
Counts
2 → 55
Calls
2 calls:
6.0ms
(* y (- z x))
5.0ms
(/ (+ x (* y (- z x))) z)

series18.0ms

Counts
2 → 6
Calls
2 calls:
7.0ms
(* y (- z x))
11.0ms
(/ (+ x (* y (- z x))) z)

simplify99.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0235338
1973311
24250311
35001311

prune75.0ms

Filtered
42 candidates to 61 candidates (-45.2%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New56561
Fresh000
Picked101
Done000
Total57562

Merged error: 3.3b

Counts
62 → 5

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (/ x z) y)
0.0b
(- (+ (/ x z) y) (/ (* x y) z))
4.3b
(/ (* 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)

series18.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(+ (/ x z) y)
8.0ms
(- (+ (/ x z) y) (/ (* x y) z))
5.0ms
(/ (* x y) z)

simplify32.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0253328
11102308
25001304

prune59.0ms

Filtered
41 candidates to 61 candidates (-48.8%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New60161
Fresh224
Picked011
Done000
Total62466

Merged error: 0b

Counts
66 → 4

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (/ x z) y)
0.0b
(- (+ (/ x z) y) (/ x (/ z y)))
8.5b
(/ x (/ z y))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
78×times-frac
54×add-sqr-sqrt
52×*-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* difference-of-squares
flip3-+ diff-log sum-log frac-sub flip-+ distribute-lft-out distribute-lft-out--
+-commutative sub-neg flip3-- frac-2neg associate--l+ clear-num associate-/r/ flip--
Counts
3 → 103
Calls
3 calls:
6.0ms
(+ (/ x z) y)
20.0ms
(- (+ (/ x z) y) (/ x (/ z y)))
5.0ms
(/ x (/ z y))

series18.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(+ (/ x z) y)
8.0ms
(- (+ (/ x z) y) (/ x (/ z y)))
5.0ms
(/ x (/ z y))

simplify47.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0484731
11905706
25002701

prune94.0ms

Filtered
87 candidates to 112 candidates (-28.7%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1120112
Fresh022
Picked011
Done011
Total1124116

Merged error: 0b

Counts
116 → 4

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
18×associate-*r*
15×*-un-lft-identity
13×add-exp-log
12×add-cube-cbrt
11×times-frac
add-cbrt-cube
pow1 associate-*l*
prod-exp
unswap-sqr
associate-*r/ cbrt-unprod
distribute-rgt-in frac-times sub-neg distribute-lft-in flip3-+ div-exp pow-prod-down associate-*l/ *-commutative flip-+ add-log-exp
cbrt-undiv rec-exp flip3-- 1-exp un-div-inv flip-- div-inv distribute-lft-out-- difference-of-squares
Counts
2 → 66
Calls
2 calls:
6.0ms
(* y (- z x))
8.0ms
(* (+ x (* y (- z x))) (/ 1 z))

series17.0ms

Counts
2 → 6
Calls
2 calls:
7.0ms
(* y (- z x))
10.0ms
(* (+ x (* y (- z x))) (/ 1 z))

simplify45.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0342413
11699367
25001355

prune57.0ms

Filtered
46 candidates to 72 candidates (-56.5%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New72072
Fresh011
Picked011
Done022
Total72476

Merged error: 0b

Counts
76 → 4

regimes157.0ms

bsearch0.0ms

Profiling

Loading profile data...