Details

Time bar (total: 3.4s)

analyze13.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
75%25%0%4
87.5%12.5%0%5
93.7%6.2%0%6
96.8%3.1%0%7
98.4%1.6%0%8
99.2%0.8%0%9
99.6%0.4%0%10
99.8%0.2%0%11
99.9%0.1%0%12
99.9%0%0%13
99.9%0%0.1%14

sample25.0ms

Algorithm
intervals
Results
16.0ms256×body80valid

simplify705.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (70.0ms)

IterNodesCost
051106

prune11.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 30.7b

Counts
2 → 1

localize7.0ms

Local error

Found 1 expressions with local error:

29.5b
(sqrt (* (pow x 2.0) 2))

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
pow1
add-exp-log add-sqr-sqrt add-cube-cbrt *-un-lft-identity sqrt-pow1 pow1/2 sqrt-prod add-cbrt-cube add-log-exp
Counts
1 → 10
Calls
1 calls:
5.0ms
(sqrt (* (pow x 2.0) 2))

series84.0ms

Counts
1 → 3
Calls
1 calls:
84.0ms
(sqrt (* (pow x 2.0) 2))

simplify45.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
04839100
14839100

prune46.0ms

Filtered
12 candidates to 13 candidates (-8.3%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New9413
Fresh000
Picked011
Done000
Total9514

Merged error: 15.3b

Counts
14 → 5

localize8.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (sqrt (* (pow x 2.0) 2)))
0.5b
(* (sqrt (sqrt (* (pow x 2.0) 2))) (sqrt (sqrt (* (pow x 2.0) 2))))
29.5b
(sqrt (* (pow x 2.0) 2))
29.5b
(sqrt (* (pow x 2.0) 2))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
38×sqrt-pow1
33×sqrt-prod
31×pow1
26×add-sqr-sqrt
20×pow1/2
13×add-cube-cbrt *-un-lft-identity
swap-sqr pow-prod-up
associate-*r* associate-*l*
add-exp-log add-cbrt-cube
pow-prod-down pow-sqr
add-log-exp unswap-sqr
pow2 rem-sqrt-square pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 96
Calls
4 calls:
4.0ms
(sqrt (sqrt (* (pow x 2.0) 2)))
13.0ms
(* (sqrt (sqrt (* (pow x 2.0) 2))) (sqrt (sqrt (* (pow x 2.0) 2))))
3.0ms
(sqrt (* (pow x 2.0) 2))
3.0ms
(sqrt (* (pow x 2.0) 2))

series251.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(sqrt (sqrt (* (pow x 2.0) 2)))
63.0ms
(* (sqrt (sqrt (* (pow x 2.0) 2))) (sqrt (sqrt (* (pow x 2.0) 2))))
61.0ms
(sqrt (* (pow x 2.0) 2))
63.0ms
(sqrt (* (pow x 2.0) 2))

simplify51.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
04904802
14904802

prune198.0ms

Filtered
63 candidates to 108 candidates (-71.4%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1053108
Fresh033
Picked101
Done011
Total1067113

Merged error: 14.7b

Counts
113 → 7

localize11.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (sqrt (* (pow x 2.0) 2)))
0.9b
(pow (sqrt (cbrt (sqrt (* (pow x 2.0) 2)))) 4)
29.5b
(sqrt (* (pow x 2.0) 2))
29.5b
(sqrt (* (pow x 2.0) 2))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
11×sqrt-prod
10×unpow-prod-down
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 cbrt-prod
add-exp-log
pow-pow sqrt-pow1 add-cbrt-cube add-log-exp
pow-unpow pow1/2
pow1/3
pow-to-exp pow-exp sqrt-pow2 sqr-pow
Counts
4 → 60
Calls
4 calls:
3.0ms
(cbrt (sqrt (* (pow x 2.0) 2)))
6.0ms
(pow (sqrt (cbrt (sqrt (* (pow x 2.0) 2)))) 4)
3.0ms
(sqrt (* (pow x 2.0) 2))
3.0ms
(sqrt (* (pow x 2.0) 2))

series304.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(cbrt (sqrt (* (pow x 2.0) 2)))
98.0ms
(pow (sqrt (cbrt (sqrt (* (pow x 2.0) 2)))) 4)
63.0ms
(sqrt (* (pow x 2.0) 2))
62.0ms
(sqrt (* (pow x 2.0) 2))

simplify30.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 0 (23.0ms)

IterNodesCost
04906679
14906679

prune219.0ms

Filtered
59 candidates to 72 candidates (-22.0%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New71172
Fresh145
Picked011
Done011
Total72779

Merged error: 14.7b

Counts
79 → 7

localize13.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (sqrt (sqrt (* (pow x 2.0) 2))))
0.9b
(pow (cbrt (sqrt (sqrt (* (pow x 2.0) 2)))) 4)
29.5b
(sqrt (* (pow x 2.0) 2))
29.5b
(sqrt (* (pow x 2.0) 2))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
14×cbrt-prod
12×sqrt-prod
10×add-sqr-sqrt add-cube-cbrt unpow-prod-down *-un-lft-identity
pow1
add-exp-log
add-cbrt-cube add-log-exp
pow-unpow
pow-pow sqrt-pow1 pow1/2 pow1/3
pow-to-exp pow-exp sqr-pow
Counts
4 → 60
Calls
4 calls:
4.0ms
(cbrt (sqrt (sqrt (* (pow x 2.0) 2))))
4.0ms
(pow (cbrt (sqrt (sqrt (* (pow x 2.0) 2)))) 4)
3.0ms
(sqrt (* (pow x 2.0) 2))
3.0ms
(sqrt (* (pow x 2.0) 2))

series304.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(cbrt (sqrt (sqrt (* (pow x 2.0) 2))))
98.0ms
(pow (cbrt (sqrt (sqrt (* (pow x 2.0) 2)))) 4)
62.0ms
(sqrt (* (pow x 2.0) 2))
64.0ms
(sqrt (* (pow x 2.0) 2))

simplify53.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
04967789
14967789

prune231.0ms

Filtered
59 candidates to 72 candidates (-22.0%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New71172
Fresh134
Picked011
Done022
Total72779

Merged error: 14.7b

Counts
79 → 7

regimes159.0ms

Accuracy

92.2% (1.2b remaining)

Error of 16.1b against oracle of 14.9b and baseline of 30.2b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06125
16125

end0.0ms

sample535.0ms

Algorithm
intervals
Results
427.0ms8000×body80valid

Profiling

Loading profile data...