Details

Time bar (total: 1.5s)

analyze69.0ms (4.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
12.5%87.4%0.1%4
31.2%68.7%0.1%5
43.7%56.2%0.1%6
54.6%42.1%3.2%7
63.2%30.4%6.3%8
69.9%21.5%8.7%9
75.3%15.2%9.5%10
79%10.1%10.8%11
82%7%11%12
83.9%4.4%11.8%13
84.7%3.5%11.8%14

sample17.0ms (1.2%)

Algorithm
intervals
Results
4.0ms182×body80valid
3.0ms29×body640valid
2.0ms18×body1280valid
1.0ms20×body320valid
0.0msbody160valid
0.0msbody80invalid

simplify83.0ms (5.7%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (82.0ms)

IterNodesCost
016429
116429

prune5.0ms (0.3%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 17.9b

Counts
2 → 1

localize6.0ms (0.4%)

Local error

Found 2 expressions with local error:

0.0b
(* (- 1.0 x) (- 1.0 y))
2.7b
(+ x (* (- 1.0 x) (- 1.0 y)))

rewrite13.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
*-un-lft-identity
flip3-- flip--
associate-*r* associate-*l*
pow1 add-exp-log frac-times add-cube-cbrt sub-neg add-cbrt-cube add-log-exp
distribute-rgt-in associate-+r+ distribute-lft-in associate-*r/ associate-*l/ distribute-lft-out-- difference-of-squares
+-commutative flip3-+ pow-prod-down prod-exp sum-log *-commutative cbrt-unprod flip-+ unswap-sqr
Counts
2 → 45
Calls

2 calls:

8.0ms
(* (- 1.0 x) (- 1.0 y))
4.0ms
(+ x (* (- 1.0 x) (- 1.0 y)))

series11.0ms (0.8%)

Counts
2 → 6
Calls

2 calls:

6.0ms
(* (- 1.0 x) (- 1.0 y))
5.0ms
(+ x (* (- 1.0 x) (- 1.0 y)))

simplify34.0ms (2.3%)

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
05073575

prune89.0ms (6.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New49251
Fresh000
Picked101
Done000
Total50252

Merged error: 0.0b

Counts
52 → 2

localize6.0ms (0.4%)

Local error

Found 2 expressions with local error:

0.0b
(* y (- x 1.0))
0.0b
(+ 1.0 (* y (- x 1.0)))

rewrite10.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
*-un-lft-identity
associate-*r*
pow1 add-exp-log add-cube-cbrt sub-neg add-cbrt-cube add-log-exp
associate-*l*
distribute-rgt-in associate-+r+ distribute-lft-in associate-*r/
+-commutative flip3-- flip3-+ pow-prod-down prod-exp sum-log *-commutative flip-- cbrt-unprod flip-+ distribute-lft-out-- difference-of-squares unswap-sqr
Counts
2 → 37
Calls

2 calls:

6.0ms
(* y (- x 1.0))
4.0ms
(+ 1.0 (* y (- x 1.0)))

series8.0ms (0.6%)

Counts
2 → 6
Calls

2 calls:

4.0ms
(* y (- x 1.0))
4.0ms
(+ 1.0 (* y (- x 1.0)))

simplify50.0ms (3.4%)

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
04949327
14949327

prune61.0ms (4.2%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New41243
Fresh101
Picked011
Done000
Total42345

Merged error: 0.0b

Counts
45 → 3

localize8.0ms (0.5%)

Local error

Found 4 expressions with local error:

0.0b
(* y (- x 1.0))
0.0b
(+ 1.0 (cbrt (pow (* y (- x 1.0)) 3)))
0.1b
(pow (* y (- x 1.0)) 3)
38.0b
(cbrt (pow (* y (- x 1.0)) 3))

rewrite20.0ms (1.4%)

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt *-un-lft-identity
pow1 add-exp-log add-cbrt-cube
cbrt-prod add-cube-cbrt
associate-*r/ add-log-exp
associate-*r*
cube-div
pow-unpow flip3-- associate-*l* flip--
cube-mult sub-neg unpow-prod-down cbrt-div pow-pow unpow3 cube-prod pow-prod-down pow-exp prod-exp cbrt-unprod rem-cube-cbrt sqr-pow
+-commutative distribute-rgt-in pow-to-exp distribute-lft-in flip3-+ pow1/3 sum-log *-commutative rem-cbrt-cube flip-+ distribute-lft-out distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 79
Calls

4 calls:

6.0ms
(* y (- x 1.0))
6.0ms
(pow (* y (- x 1.0)) 3)
4.0ms
(+ 1.0 (cbrt (pow (* y (- x 1.0)) 3)))
2.0ms
(cbrt (pow (* y (- x 1.0)) 3))

series20.0ms (1.3%)

Counts
4 → 12
Calls

4 calls:

7.0ms
(pow (* y (- x 1.0)) 3)
5.0ms
(cbrt (pow (* y (- x 1.0)) 3))
4.0ms
(* y (- x 1.0))
4.0ms
(+ 1.0 (cbrt (pow (* y (- x 1.0)) 3)))

simplify38.0ms (2.6%)

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
04934730
14934730

prune141.0ms (9.7%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New91091
Fresh011
Picked011
Done011
Total91394

Merged error: 0.0b

Counts
94 → 3

localize8.0ms (0.5%)

Local error

Found 4 expressions with local error:

0.0b
(* y (- x 1.0))
0.0b
(+ 1.0 (* y (- x 1.0)))
0.1b
(pow (+ 1.0 (* y (- x 1.0))) 3)
24.8b
(cbrt (pow (+ 1.0 (* y (- x 1.0))) 3))

rewrite19.0ms (1.3%)

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
14×*-un-lft-identity
12×cbrt-prod add-cube-cbrt
pow1 add-exp-log add-cbrt-cube
unpow-prod-down cube-prod add-log-exp
associate-*r*
cube-div sub-neg
pow-unpow flip3-+ associate-*l* flip-+
distribute-rgt-in cube-mult cbrt-div associate-+r+ distribute-lft-in unpow3 associate-*r/ sqr-pow
+-commutative pow-to-exp flip3-- pow-pow pow1/3 pow-prod-down pow-exp prod-exp sum-log *-commutative flip-- rem-cbrt-cube cbrt-unprod distribute-lft-out-- rem-cube-cbrt difference-of-squares unswap-sqr
Counts
4 → 85
Calls

4 calls:

6.0ms
(* y (- x 1.0))
4.0ms
(pow (+ 1.0 (* y (- x 1.0))) 3)
4.0ms
(cbrt (pow (+ 1.0 (* y (- x 1.0))) 3))
3.0ms
(+ 1.0 (* y (- x 1.0)))

series23.0ms (1.6%)

Counts
4 → 12
Calls

4 calls:

8.0ms
(pow (+ 1.0 (* y (- x 1.0))) 3)
6.0ms
(* y (- x 1.0))
4.0ms
(cbrt (pow (+ 1.0 (* y (- x 1.0))) 3))
4.0ms
(+ 1.0 (* y (- x 1.0)))

simplify40.0ms (2.7%)

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
05004988

prune153.0ms (10.4%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New97097
Fresh000
Picked011
Done022
Total973100

Merged error: 0.0b

Counts
100 → 3

regimes71.0ms (4.9%)

Accuracy

Total 0.0b remaining (14.4%)

Threshold costs 0.0b (14.4%)

bsearch0.0ms (0%)

simplify1.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0187
1187

end0.0ms (0%)

sample459.0ms (31.4%)

Algorithm
intervals
Results
142.0ms5810×body80valid
81.0ms841×body640valid
49.0ms421×body1280valid
43.0ms588×body320valid
16.0ms340×body160valid
2.0ms66×body80invalid

Profiling

Loading profile data...