Details

Time bar (total: 3.4s)

sample35.0ms

Algorithm
intervals
Results
18.0ms80×body1280valid
6.0ms144×body80valid
2.0ms12×body640valid
1.0ms10×body320valid
1.0ms10×body160valid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0196
1246
2286
3306
4356
5376
6376

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: 15.2b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
0.0b
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
0.0b
(/ 1.0 (hypot 1.0 x))
3.1b
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
16×*-un-lft-identity
14×add-sqr-sqrt
12×add-cube-cbrt
times-frac
add-log-exp
pow1
add-exp-log add-cbrt-cube
associate-/r* associate-/l*
sqrt-pow1 flip3-+ sqrt-div associate-*r/ flip-+
cbrt-undiv +-commutative sub-neg flip3-- frac-2neg pow1/2 diff-log div-exp pow-prod-down clear-num sum-log sqrt-prod flip-- div-inv distribute-lft-out distribute-lft-out-- difference-of-squares
Counts
4 → 66
Calls
4 calls:
6.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
7.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
3.0ms
(/ 1.0 (hypot 1.0 x))
3.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

series189.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
73.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
5.0ms
(/ 1.0 (hypot 1.0 x))
84.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

simplify68.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0221492
1697465
22325463
35001463

prune137.0ms

Filtered
78 candidates to 55 candidates (70.5%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New76278
Fresh000
Picked101
Done000
Total77279

Merged error: 14.7b

Counts
79 → 2

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
0.0b
(/ 1.0 (hypot 1.0 x))
0.0b
(/ 1.0 (hypot 1.0 x))
2.4b
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity
20×add-sqr-sqrt add-cube-cbrt
18×times-frac
add-exp-log add-cbrt-cube add-log-exp
associate-/r* associate-/l*
pow1 associate-*r/ associate--l+
sub-neg
cbrt-undiv distribute-rgt-in flip3-- frac-2neg distribute-lft-in div-exp clear-num frac-sub flip-- div-inv
+-commutative flip3-+ diff-log sum-log flip-+ distribute-lft-out
Counts
4 → 84
Calls
4 calls:
6.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
3.0ms
(/ 1.0 (hypot 1.0 x))
7.0ms
(/ 1.0 (hypot 1.0 x))
6.0ms
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))

series69.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
5.0ms
(/ 1.0 (hypot 1.0 x))
6.0ms
(/ 1.0 (hypot 1.0 x))
32.0ms
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))

simplify147.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0288547
11035512
24960506
35001506

prune208.0ms

Filtered
96 candidates to 68 candidates (70.8%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New91596
Fresh101
Picked101
Done000
Total93598

Merged error: 14.6b

Counts
98 → 5

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1.0 (hypot 1.0 x))
0.0b
(/ 1.0 (hypot 1.0 x))
0.2b
(* (* 0.5 (/ 1.0 (hypot 1.0 x))) (* 0.5 (/ 1.0 (hypot 1.0 x))))
2.4b
(- (* (* 1.0 (- 1.0 0.5)) (* 1.0 (- 1.0 0.5))) (* (* 0.5 (/ 1.0 (hypot 1.0 x))) (* 0.5 (/ 1.0 (hypot 1.0 x)))))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
87×associate-*r/
44×add-exp-log add-cbrt-cube
43×pow1
24×frac-sub
21×frac-times prod-exp cbrt-unprod
20×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
19×flip3-- flip--
18×times-frac
17×pow-prod-down
15×associate-*l/
cbrt-undiv distribute-rgt-in distribute-lft-in div-exp associate--l+
associate-/r* associate-/l* add-log-exp
sub-neg
pow-sqr pow-prod-up
frac-2neg pow-plus clear-num div-inv
pow2 diff-log swap-sqr associate-*r* associate-*l* *-commutative difference-of-squares
Counts
4 → 146
Calls
4 calls:
3.0ms
(/ 1.0 (hypot 1.0 x))
3.0ms
(/ 1.0 (hypot 1.0 x))
11.0ms
(* (* 0.5 (/ 1.0 (hypot 1.0 x))) (* 0.5 (/ 1.0 (hypot 1.0 x))))
15.0ms
(- (* (* 1.0 (- 1.0 0.5)) (* 1.0 (- 1.0 0.5))) (* (* 0.5 (/ 1.0 (hypot 1.0 x))) (* 0.5 (/ 1.0 (hypot 1.0 x)))))

series93.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(/ 1.0 (hypot 1.0 x))
10.0ms
(/ 1.0 (hypot 1.0 x))
24.0ms
(* (* 0.5 (/ 1.0 (hypot 1.0 x))) (* 0.5 (/ 1.0 (hypot 1.0 x))))
54.0ms
(- (* (* 1.0 (- 1.0 0.5)) (* 1.0 (- 1.0 0.5))) (* (* 0.5 (/ 1.0 (hypot 1.0 x))) (* 0.5 (/ 1.0 (hypot 1.0 x)))))

simplify103.0ms

Algorithm
egg-herbie
Counts
158 → 158
Iterations

Useful iterations: 2 (84.0ms)

IterNodesCost
07061704
135911480
250011479

prune330.0ms

Filtered
158 candidates to 82 candidates (51.9%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1535158
Fresh404
Picked101
Done000
Total1585163

Merged error: 14.3b

Counts
163 → 5

localize21.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1.0 (hypot 1.0 x))
0.2b
(exp (log (- (* (* 1.0 (- 1.0 0.5)) (* 1.0 (- 1.0 0.5))) (* (* 0.5 (/ 1.0 (hypot 1.0 x))) (* 0.5 (/ 1.0 (hypot 1.0 x)))))))
0.2b
(* (* 0.5 (/ 1.0 (hypot 1.0 x))) (* 0.5 (/ 1.0 (hypot 1.0 x))))
2.4b
(- (* (* 1.0 (- 1.0 0.5)) (* 1.0 (- 1.0 0.5))) (* (* 0.5 (/ 1.0 (hypot 1.0 x))) (* 0.5 (/ 1.0 (hypot 1.0 x)))))

rewrite63.0ms

Algorithm
rewrite-expression-head
Rules
169×associate-*r/
48×frac-sub
44×pow1
42×add-exp-log add-cbrt-cube
41×frac-times
38×flip3-- flip--
29×associate-*l/
26×log-div exp-diff
21×prod-exp cbrt-unprod
17×pow-prod-down
14×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
distribute-rgt-in distribute-lft-in associate--l+
cbrt-undiv div-exp
add-log-exp
sub-neg
log-prod exp-prod exp-sum pow-sqr pow-prod-up
associate-/r* associate-/l*
pow-plus difference-of-squares
pow2 frac-2neg diff-log swap-sqr associate-*r* associate-*l* clear-num log-pow *-commutative div-inv rem-exp-log
Counts
4 → 161
Calls
4 calls:
3.0ms
(/ 1.0 (hypot 1.0 x))
22.0ms
(exp (log (- (* (* 1.0 (- 1.0 0.5)) (* 1.0 (- 1.0 0.5))) (* (* 0.5 (/ 1.0 (hypot 1.0 x))) (* 0.5 (/ 1.0 (hypot 1.0 x)))))))
11.0ms
(* (* 0.5 (/ 1.0 (hypot 1.0 x))) (* 0.5 (/ 1.0 (hypot 1.0 x))))
16.0ms
(- (* (* 1.0 (- 1.0 0.5)) (* 1.0 (- 1.0 0.5))) (* (* 0.5 (/ 1.0 (hypot 1.0 x))) (* 0.5 (/ 1.0 (hypot 1.0 x)))))

series143.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(/ 1.0 (hypot 1.0 x))
54.0ms
(exp (log (- (* (* 1.0 (- 1.0 0.5)) (* 1.0 (- 1.0 0.5))) (* (* 0.5 (/ 1.0 (hypot 1.0 x))) (* 0.5 (/ 1.0 (hypot 1.0 x)))))))
30.0ms
(* (* 0.5 (/ 1.0 (hypot 1.0 x))) (* 0.5 (/ 1.0 (hypot 1.0 x))))
54.0ms
(- (* (* 1.0 (- 1.0 0.5)) (* 1.0 (- 1.0 0.5))) (* (* 0.5 (/ 1.0 (hypot 1.0 x))) (* 0.5 (/ 1.0 (hypot 1.0 x)))))

simplify117.0ms

Algorithm
egg-herbie
Counts
173 → 173
Iterations

Useful iterations: 2 (85.0ms)

IterNodesCost
08382651
138262371
250012334

prune365.0ms

Filtered
173 candidates to 83 candidates (48.0%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1703173
Fresh044
Picked101
Done000
Total1717178

Merged error: 14.3b

Counts
178 → 7

regimes160.0ms

Accuracy

0% (0.4b remaining)

Error of 14.9b against oracle of 14.5b and baseline of 14.9b

bsearch0.0ms

simplify4.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05854
17254
28054
38654
49554
59654
69654

end0.0ms

sample1.1s

Algorithm
intervals
Results
613.0ms2855×body1280valid
167.0ms4050×body80valid
109.0ms625×body640valid
39.0ms322×body320valid
12.0ms148×body160valid

Profiling

Loading profile data...