Details

Time bar (total: 2.8s)

sample37.0ms

Algorithm
intervals
Results
19.0ms89×body1280valid
6.0ms137×body80valid
3.0ms18×body640valid
1.0msbody320valid
0.0msbody160valid

simplify20.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (18.0ms)

IterNodesCost
044212
144212

prune6.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 13.7b

Counts
2 → 1

localize8.0ms

Local error

Found 3 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)))))
2.1b
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity add-log-exp
pow1
add-sqr-sqrt
add-exp-log add-cube-cbrt add-cbrt-cube
sqrt-pow1 flip3-+ sqrt-div associate-*r/ flip-+
+-commutative sub-neg flip3-- pow1/2 diff-log pow-prod-down sum-log sqrt-prod flip-- distribute-lft-out distribute-lft-out-- difference-of-squares
Counts
3 → 39
Calls
3 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 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

series37.0ms

Counts
3 → 9
Calls
3 calls:
6.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
16.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
15.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

simplify57.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
04960618
14960618

prune86.0ms

Filtered
33 candidates to 48 candidates (-45.5%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New45348
Fresh000
Picked101
Done000
Total46349

Merged error: 13.1b

Counts
49 → 3

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite39.0ms

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

series73.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(+ 1.0 (sqrt (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x))))))
39.0ms
(/ (* 1.0 (- (- 1.0 0.5) (/ 0.5 (hypot 1.0 x)))) (+ 1.0 (sqrt (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x)))))))
14.0ms
(sqrt (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x)))))
6.0ms
(- (- 1.0 0.5) (/ 0.5 (hypot 1.0 x)))

simplify43.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
060151628

prune203.0ms

Filtered
65 candidates to 91 candidates (-40.0%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New88391
Fresh112
Picked101
Done000
Total90494

Merged error: 13.1b

Counts
94 → 4

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
31×add-exp-log add-cbrt-cube
14×*-un-lft-identity
12×add-sqr-sqrt
10×cbrt-undiv div-exp prod-exp cbrt-unprod
pow1
add-cube-cbrt
add-log-exp
flip3-+ times-frac associate-*r/ associate-/r* flip-+ distribute-lft-out
frac-times flip3-- associate-*l* flip--
sub-neg associate-*r* sqrt-prod
distribute-rgt-in distribute-lft-in sqrt-pow1 sqrt-div pow-prod-down associate-*l/ associate-/r/
frac-2neg pow1/2 diff-log clear-num *-commutative div-inv associate-/l/ associate-/l* unswap-sqr
Counts
4 → 92
Calls
4 calls:
18.0ms
(/ (* 1.0 (/ (* (+ 1.0 0.5) (- (* (- 1.0 0.5) (hypot 1.0 x)) 0.5)) (* (hypot 1.0 x) (+ 1.0 0.5)))) (+ 1.0 (sqrt (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x)))))))
7.0ms
(sqrt (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x)))))
12.0ms
(* (+ 1.0 0.5) (- (* (- 1.0 0.5) (hypot 1.0 x)) 0.5))
6.0ms
(- (* (- 1.0 0.5) (hypot 1.0 x)) 0.5)

series64.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(/ (* 1.0 (/ (* (+ 1.0 0.5) (- (* (- 1.0 0.5) (hypot 1.0 x)) 0.5)) (* (hypot 1.0 x) (+ 1.0 0.5)))) (+ 1.0 (sqrt (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x)))))))
15.0ms
(sqrt (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x)))))
5.0ms
(* (+ 1.0 0.5) (- (* (- 1.0 0.5) (hypot 1.0 x)) 0.5))
3.0ms
(- (* (- 1.0 0.5) (hypot 1.0 x)) 0.5)

simplify50.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
050732222

prune267.0ms

Filtered
70 candidates to 104 candidates (-48.6%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1031104
Fresh033
Picked101
Done000
Total1044108

Merged error: 13.1b

Counts
108 → 4

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (/ 1.0 (+ 1.0 (sqrt (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x))))))) (* 1 (/ (- (* (- 1.0 0.5) (hypot 1.0 x)) 0.5) (hypot 1.0 x))))
0.0b
(sqrt (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x)))))
0.1b
(exp (log (* (/ 1.0 (+ 1.0 (sqrt (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x))))))) (* 1 (/ (- (* (- 1.0 0.5) (hypot 1.0 x)) 0.5) (hypot 1.0 x))))))
1.6b
(- (* (- 1.0 0.5) (hypot 1.0 x)) 0.5)

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
37×add-exp-log
25×add-cbrt-cube
21×associate-*l*
20×*-un-lft-identity
18×pow1 prod-exp
17×add-sqr-sqrt
15×times-frac
14×add-cube-cbrt
10×cbrt-unprod
div-exp
associate-*r/
pow-prod-down
exp-prod distribute-lft-out add-log-exp
cbrt-undiv
1-exp sqrt-prod
log-div exp-diff log-pow
frac-times sqrt-pow1 flip3-+ sqrt-div associate-*l/ associate-/r/ flip-+
sub-neg log-prod flip3-- pow1/2 diff-log associate-*r* exp-sum *-commutative flip-- div-inv rem-exp-log
Counts
4 → 94
Calls
4 calls:
16.0ms
(* (/ 1.0 (+ 1.0 (sqrt (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x))))))) (* 1 (/ (- (* (- 1.0 0.5) (hypot 1.0 x)) 0.5) (hypot 1.0 x))))
7.0ms
(sqrt (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x)))))
14.0ms
(exp (log (* (/ 1.0 (+ 1.0 (sqrt (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x))))))) (* 1 (/ (- (* (- 1.0 0.5) (hypot 1.0 x)) 0.5) (hypot 1.0 x))))))
6.0ms
(- (* (- 1.0 0.5) (hypot 1.0 x)) 0.5)

series101.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(* (/ 1.0 (+ 1.0 (sqrt (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x))))))) (* 1 (/ (- (* (- 1.0 0.5) (hypot 1.0 x)) 0.5) (hypot 1.0 x))))
13.0ms
(sqrt (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x)))))
42.0ms
(exp (log (* (/ 1.0 (+ 1.0 (sqrt (* 1.0 (+ 0.5 (/ 0.5 (hypot 1.0 x))))))) (* 1 (/ (- (* (- 1.0 0.5) (hypot 1.0 x)) 0.5) (hypot 1.0 x))))))
3.0ms
(- (* (- 1.0 0.5) (hypot 1.0 x)) 0.5)

simplify64.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
055782298

prune251.0ms

Filtered
69 candidates to 106 candidates (-53.6%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1051106
Fresh033
Picked101
Done000
Total1064110

Merged error: 13.1b

Counts
110 → 4

regimes75.0ms

Accuracy

0% (0.0b remaining)

Error of 15.0b against oracle of 15.0b and baseline of 15.0b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03931
13931

end0.0ms

sample1.1s

Algorithm
intervals
Results
652.0ms2953×body1280valid
159.0ms3965×body80valid
106.0ms614×body640valid
39.0ms319×body320valid
12.0ms149×body160valid

Profiling

Loading profile data...