Details

Time bar (total: 3.8s)

analyze664.0ms (17.7%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
0%99.9%0.1%5
0%99.9%0.1%6
0%99.9%0.1%7
0%99.9%0.1%8
12.5%85.8%1.7%9
16.4%79.2%4.4%10
20.7%72.4%7%11
32.6%53.3%14.1%12
36%45.5%18.5%13
38.3%41.1%20.6%14

sample25.0ms (0.7%)

Algorithm
intervals
Results
10.0ms256×body80valid
4.0ms91×body80invalid

simplify71.0ms (1.9%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (69.0ms)

IterNodesCost
0510013

prune10.0ms (0.3%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.1b

Counts
2 → 2

localize13.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.0b
(+ y (* (- x z) (/ (+ x z) y)))
0.0b
(/ (+ x z) y)
0.2b
(/ (+ y (* (- x z) (/ (+ x z) y))) 2.0)
0.3b
(* (- x z) (/ (+ x z) y))

rewrite29.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
46×*-un-lft-identity
37×add-sqr-sqrt
34×times-frac
30×add-cube-cbrt
16×associate-*r*
13×add-exp-log add-cbrt-cube
distribute-lft-out associate-/l*
pow1 associate-/r* add-log-exp
associate-*l*
associate-/l/
cbrt-undiv flip3-+ div-exp flip-+ div-inv
frac-times flip3-- frac-2neg associate-*l/ prod-exp clear-num flip-- cbrt-unprod unswap-sqr
+-commutative associate-*r/ pow-prod-down sum-log *-commutative distribute-lft-out-- difference-of-squares
Counts
4 → 114
Calls

4 calls:

11.0ms
(* (- x z) (/ (+ x z) y))
5.0ms
(/ (+ y (* (- x z) (/ (+ x z) y))) 2.0)
5.0ms
(/ (+ x z) y)
4.0ms
(+ y (* (- x z) (/ (+ x z) y)))

series42.0ms (1.1%)

Counts
4 → 12
Calls

4 calls:

14.0ms
(/ (+ y (* (- x z) (/ (+ x z) y))) 2.0)
12.0ms
(+ y (* (- x z) (/ (+ x z) y)))
11.0ms
(* (- x z) (/ (+ x z) y))
5.0ms
(/ (+ x z) y)

simplify26.0ms (0.7%)

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 0 (16.0ms)

IterNodesCost
050391611

prune181.0ms (4.8%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1188126
Fresh011
Picked011
Done000
Total11810128

Merged error: 0b

Counts
128 → 10

localize10.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.0b
(/ y (+ x z))
0.2b
(/ (+ y (* (- x z) (/ 1 (/ y (+ x z))))) 2.0)
0.3b
(* (- x z) (/ 1 (/ y (+ x z))))
0.7b
(/ 1 (/ y (+ x z)))

rewrite55.0ms (1.5%)

Algorithm
rewrite-expression-head
Rules
219×times-frac
170×*-un-lft-identity
132×add-sqr-sqrt
116×add-cube-cbrt
59×associate-*r*
38×add-exp-log
25×associate-/r* distribute-lft-out
22×add-cbrt-cube
18×associate-/r/
16×div-exp
11×div-inv
flip3-+ flip-+ associate-/l*
cbrt-undiv
pow1 prod-exp
associate-*l* unswap-sqr
rec-exp 1-exp add-log-exp
frac-2neg clear-num cbrt-unprod
frac-times flip3-- associate-*l/ flip-- associate-/l/
pow-flip associate-*r/ pow-prod-down un-div-inv *-commutative distribute-lft-out-- inv-pow difference-of-squares
Counts
4 → 252
Calls

4 calls:

23.0ms
(* (- x z) (/ 1 (/ y (+ x z))))
8.0ms
(/ 1 (/ y (+ x z)))
8.0ms
(/ (+ y (* (- x z) (/ 1 (/ y (+ x z))))) 2.0)
5.0ms
(/ y (+ x z))

series38.0ms (1%)

Counts
4 → 12
Calls

4 calls:

14.0ms
(/ (+ y (* (- x z) (/ 1 (/ y (+ x z))))) 2.0)
11.0ms
(* (- x z) (/ 1 (/ y (+ x z))))
7.0ms
(/ 1 (/ y (+ x z)))
7.0ms
(/ y (+ x z))

simplify58.0ms (1.6%)

Algorithm
egg-herbie
Counts
264 → 264
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
055023163

prune338.0ms (9%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New2631264
Fresh448
Picked101
Done011
Total2686274

Merged error: 0b

Counts
274 → 6

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(+ y (/ (- x z) (/ y (+ x z))))
0.0b
(/ y (+ x z))
0.2b
(/ (- x z) (/ y (+ x z)))
0.2b
(/ (+ y (/ (- x z) (/ y (+ x z)))) 2.0)

rewrite111.0ms (3%)

Algorithm
rewrite-expression-head
Rules
186×times-frac
181×*-un-lft-identity
127×add-sqr-sqrt
89×add-cube-cbrt
27×distribute-lft-out
25×associate-/r*
19×distribute-lft-out-- difference-of-squares
15×associate-/r/
13×add-exp-log add-cbrt-cube
12×associate-/l*
flip3-+ flip-+ div-inv
add-log-exp
cbrt-undiv div-exp
pow1 div-sub associate-/l/
frac-2neg clear-num
associate-+r-
+-commutative flip3-- sum-log flip--
Counts
4 → 211
Calls

4 calls:

41.0ms
(/ (+ y (/ (- x z) (/ y (+ x z)))) 2.0)
29.0ms
(+ y (/ (- x z) (/ y (+ x z))))
22.0ms
(/ (- x z) (/ y (+ x z)))
9.0ms
(/ y (+ x z))

series45.0ms (1.2%)

Counts
4 → 12
Calls

4 calls:

15.0ms
(/ (+ y (/ (- x z) (/ y (+ x z)))) 2.0)
12.0ms
(+ y (/ (- x z) (/ y (+ x z))))
11.0ms
(/ (- x z) (/ y (+ x z)))
7.0ms
(/ y (+ x z))

simplify47.0ms (1.2%)

Algorithm
egg-herbie
Counts
223 → 223
Iterations

Useful iterations: 0 (22.0ms)

IterNodesCost
052353546

prune247.0ms (6.6%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New2221223
Fresh134
Picked011
Done011
Total2236229

Merged error: 0b

Counts
229 → 6

localize15.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.4b
(* (cbrt (* (- x z) (/ (+ x z) y))) (cbrt (* (- x z) (/ (+ x z) y))))
8.6b
(cbrt (* (- x z) (/ (+ x z) y)))
8.6b
(cbrt (* (- x z) (/ (+ x z) y)))
8.6b
(cbrt (* (- x z) (/ (+ x z) y)))

rewrite38.0ms (1%)

Algorithm
rewrite-expression-head
Rules
75×cbrt-div
55×frac-times
35×associate-*l/
30×flip3-- flip--
20×associate-*r/
11×pow1
10×add-sqr-sqrt
pow1/3
add-cube-cbrt *-un-lft-identity
cbrt-prod
add-exp-log
swap-sqr associate-*r* associate-*l* add-cbrt-cube add-log-exp
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 108
Calls

4 calls:

8.0ms
(cbrt (* (- x z) (/ (+ x z) y)))
8.0ms
(cbrt (* (- x z) (/ (+ x z) y)))
8.0ms
(cbrt (* (- x z) (/ (+ x z) y)))
8.0ms
(* (cbrt (* (- x z) (/ (+ x z) y))) (cbrt (* (- x z) (/ (+ x z) y))))

series339.0ms (9%)

Counts
4 → 12
Calls

4 calls:

234.0ms
(cbrt (* (- x z) (/ (+ x z) y)))
42.0ms
(* (cbrt (* (- x z) (/ (+ x z) y))) (cbrt (* (- x z) (/ (+ x z) y))))
32.0ms
(cbrt (* (- x z) (/ (+ x z) y)))
31.0ms
(cbrt (* (- x z) (/ (+ x z) y)))

simplify70.0ms (1.9%)

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
048952271
148952271

prune167.0ms (4.4%)

Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New1200120
Fresh033
Picked011
Done022
Total1206126

Merged error: 0b

Counts
126 → 6

regimes398.0ms (10.6%)

Accuracy

Total 0.1b remaining (84.9%)

Threshold costs 0.1b (84.9%)

bsearch0.0ms (0%)

simplify1.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02213
12213

end0.0ms (0%)

sample704.0ms (18.8%)

Algorithm
intervals
Results
340.0ms8000×body80valid
126.0ms2921×body80invalid

Profiling

Loading profile data...