Details

Time bar (total: 3.6s)

sample22.0ms

Algorithm
intervals
Results
12.0ms277×body80valid

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0217
1407
2567
3767
4907
5947
6947

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

Counts
2 → 1

localize13.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* c c) (* d d))
0.3b
(- (* b c) (* a d))
27.9b
(/ (- (* b c) (* a d)) (+ (* c c) (* d d)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-log-exp
add-exp-log add-cbrt-cube
pow1 expm1-log1p-u associate-/r* log1p-expm1-u associate-/l*
flip3-- flip3-+ associate-/r/ flip-- flip-+ associate-/l/
cbrt-undiv +-commutative sub-neg fma-def frac-2neg fma-neg diff-log div-sub div-exp prod-diff clear-num sum-log div-inv
Counts
3 → 64
Calls
3 calls:
4.0ms
(+ (* c c) (* d d))
4.0ms
(- (* b c) (* a d))
8.0ms
(/ (- (* b c) (* a d)) (+ (* c c) (* d d)))

series161.0ms

Counts
3 → 9
Calls
3 calls:
28.0ms
(+ (* c c) (* d d))
41.0ms
(- (* b c) (* a d))
92.0ms
(/ (- (* b c) (* a d)) (+ (* c c) (* d d)))

simplify43.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0314555
11341496
25001481

prune187.0ms

Filtered
73 candidates to 59 candidates (80.8%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New67673
Fresh000
Picked101
Done000
Total68674

Merged error: 12.8b

Counts
74 → 6

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (* (hypot c d) 1))
0.3b
(* (/ 1 (* (hypot c d) 1)) (/ (- (* b c) (* a d)) (hypot c d)))
0.3b
(- (* b c) (* a d))
16.4b
(/ (- (* b c) (* a d)) (hypot c d))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
83×add-exp-log
38×prod-exp
32×add-cbrt-cube
29×div-exp
28×add-sqr-sqrt
25×times-frac
23×add-cube-cbrt *-un-lft-identity
18×1-exp
13×associate-*r*
10×cbrt-undiv
pow1 rec-exp cbrt-unprod
associate-*l*
associate-/l* add-log-exp
expm1-log1p-u associate-/r* log1p-expm1-u div-inv
flip3-- pow-flip frac-2neg pow-prod-down clear-num flip-- associate-/l/ unswap-sqr
frac-times sub-neg fma-neg diff-log div-sub associate-*r/ prod-diff associate-*l/ *-commutative inv-pow
Counts
4 → 143
Calls
4 calls:
5.0ms
(/ 1 (* (hypot c d) 1))
13.0ms
(* (/ 1 (* (hypot c d) 1)) (/ (- (* b c) (* a d)) (hypot c d)))
4.0ms
(- (* b c) (* a d))
6.0ms
(/ (- (* b c) (* a d)) (hypot c d))

series415.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(/ 1 (* (hypot c d) 1))
193.0ms
(* (/ 1 (* (hypot c d) 1)) (/ (- (* b c) (* a d)) (hypot c d)))
44.0ms
(- (* b c) (* a d))
122.0ms
(/ (- (* b c) (* a d)) (hypot c d))

simplify67.0ms

Algorithm
egg-herbie
Counts
155 → 155
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
05531207
123041003
25001995

prune295.0ms

Filtered
155 candidates to 94 candidates (60.6%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1505155
Fresh235
Picked101
Done000
Total1538161

Merged error: 4.5b

Counts
161 → 8

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot c d)
0.1b
(/ (/ (- (* b c) (* a d)) (hypot c d)) (hypot c d))
0.3b
(- (* b c) (* a d))
16.4b
(/ (- (* b c) (* a d)) (hypot c d))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
84×times-frac
54×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
16×associate-/l*
11×add-exp-log add-cbrt-cube
associate-/r* div-inv add-log-exp
pow1 cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u
div-sub associate-/l/
flip3-- frac-2neg clear-num flip--
sub-neg hypot-udef fma-neg diff-log prod-diff
Counts
4 → 131
Calls
4 calls:
1.0ms
(hypot c d)
8.0ms
(/ (/ (- (* b c) (* a d)) (hypot c d)) (hypot c d))
4.0ms
(- (* b c) (* a d))
9.0ms
(/ (- (* b c) (* a d)) (hypot c d))

series336.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(hypot c d)
125.0ms
(/ (/ (- (* b c) (* a d)) (hypot c d)) (hypot c d))
41.0ms
(- (* b c) (* a d))
122.0ms
(/ (- (* b c) (* a d)) (hypot c d))

simplify55.0ms

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
04581435
116671331
250011322

prune317.0ms

Filtered
143 candidates to 112 candidates (78.3%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1394143
Fresh257
Picked011
Done000
Total14110151

Merged error: 4.5b

Counts
151 → 10

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot c d)
0.1b
(/ (* (- (* b c) (* a d)) (/ 1 (hypot c d))) (hypot c d))
0.3b
(- (* b c) (* a d))
16.6b
(* (- (* b c) (* a d)) (/ 1 (hypot c d)))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
28×add-exp-log
21×add-sqr-sqrt
18×add-cbrt-cube
15×*-un-lft-identity
14×add-cube-cbrt times-frac
13×associate-*r*
div-exp
prod-exp
pow1 associate-/l/ add-log-exp
cbrt-undiv flip3-- flip--
expm1-log1p-u frac-times associate-*l/ cbrt-unprod log1p-expm1-u
associate-*l* associate-/r* unswap-sqr
rec-exp 1-exp associate-*r/ un-div-inv div-inv
sub-neg hypot-udef frac-2neg fma-neg diff-log prod-diff pow-prod-down clear-num *-commutative associate-/l*
Counts
4 → 101
Calls
4 calls:
1.0ms
(hypot c d)
9.0ms
(/ (* (- (* b c) (* a d)) (/ 1 (hypot c d))) (hypot c d))
4.0ms
(- (* b c) (* a d))
9.0ms
(* (- (* b c) (* a d)) (/ 1 (hypot c d)))

series332.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(hypot c d)
120.0ms
(/ (* (- (* b c) (* a d)) (/ 1 (hypot c d))) (hypot c d))
44.0ms
(- (* b c) (* a d))
121.0ms
(* (- (* b c) (* a d)) (/ 1 (hypot c d)))

simplify57.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0417840
11830701
25003680

prune217.0ms

Filtered
113 candidates to 82 candidates (72.6%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1130113
Fresh088
Picked011
Done011
Total11310123

Merged error: 4.5b

Counts
123 → 10

regimes182.0ms

Accuracy

30.6% (8.3b remaining)

Error of 13.1b against oracle of 4.8b and baseline of 16.8b

bsearch158.0ms

Steps
ItersRangePoint
8
8.633873367224804e+204
3.582155701105743e+207
9.058781893372415e+204
10
1.9139836537483146e+77
2.4288808656791134e+92
3.6837815617052844e+85
9
1.7373270540745664e-91
1.0956860242792136e-82
3.772343053981947e-85
6
-4.6778596556519216e+169
-9.141041889454643e+168
-9.278928271868404e+168

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03728
13828
23828

end0.0ms

sample567.0ms

Algorithm
intervals
Results
361.0ms8502×body80valid