Details

Time bar (total: 3.8s)

sample22.0ms

Algorithm
intervals
Results
9.0ms271×body80valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0177
1217
2217

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

Counts
2 → 1

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* c c) (* d d))
0.5b
(+ (* a c) (* b d))
25.1b
(/ (+ (* a c) (* b 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
flip3-+ flip-+
pow1 expm1-log1p-u associate-/r* log1p-expm1-u associate-/l*
+-commutative fma-def sum-log associate-/r/ associate-/l/
cbrt-undiv frac-2neg div-exp clear-num div-inv
Counts
3 → 61
Calls
3 calls:
4.0ms
(+ (* c c) (* d d))
4.0ms
(+ (* a c) (* b d))
8.0ms
(/ (+ (* a c) (* b d)) (+ (* c c) (* d d)))

series147.0ms

Counts
3 → 9
Calls
3 calls:
29.0ms
(+ (* c c) (* d d))
34.0ms
(+ (* a c) (* b d))
84.0ms
(/ (+ (* a c) (* b d)) (+ (* c c) (* d d)))

simplify134.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0290532
11199475
24872462
35001462

prune199.0ms

Filtered
70 candidates to 57 candidates (81.4%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New61970
Fresh000
Picked101
Done000
Total62971

Merged error: 17.5b

Counts
71 → 9

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma a c (* b d))
0.0b
(/ 1 (* (hypot c d) 1))
0.3b
(* (/ 1 (* (hypot c d) 1)) (/ (fma a c (* b d)) (* (hypot c d) 1)))
17.0b
(/ (fma a c (* b d)) (* (hypot c d) 1))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
170×add-exp-log
92×prod-exp
63×div-exp
50×add-cbrt-cube
41×1-exp
17×cbrt-unprod
16×cbrt-undiv
15×rec-exp
14×add-sqr-sqrt
12×add-cube-cbrt *-un-lft-identity times-frac
pow1
associate-*r* associate-*l*
associate-/l*
expm1-log1p-u log1p-expm1-u div-inv add-log-exp
pow-flip frac-2neg pow-prod-down clear-num associate-/r*
frac-times associate-*r/ associate-*l/ *-commutative fma-udef inv-pow unswap-sqr
Counts
4 → 145
Calls
4 calls:
1.0ms
(fma a c (* b d))
5.0ms
(/ 1 (* (hypot c d) 1))
12.0ms
(* (/ 1 (* (hypot c d) 1)) (/ (fma a c (* b d)) (* (hypot c d) 1)))
5.0ms
(/ (fma a c (* b d)) (* (hypot c d) 1))

series411.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(fma a c (* b d))
54.0ms
(/ 1 (* (hypot c d) 1))
204.0ms
(* (/ 1 (* (hypot c d) 1)) (/ (fma a c (* b d)) (* (hypot c d) 1)))
115.0ms
(/ (fma a c (* b d)) (* (hypot c d) 1))

simplify48.0ms

Algorithm
egg-herbie
Counts
157 → 157
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
04861191
11654892
25002884

prune241.0ms

Filtered
157 candidates to 77 candidates (49.0%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1516157
Fresh628
Picked011
Done000
Total1579166

Merged error: 6.0b

Counts
166 → 9

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma a c (* b d))
0.1b
(/ (/ (fma a c (* b d)) (hypot c d)) (* (hypot c d) 1))
17.0b
(/ (fma a c (* b d)) (hypot c d))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
40×times-frac
25×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
22×add-exp-log
17×add-cbrt-cube
16×associate-/l*
10×div-exp
cbrt-undiv
prod-exp associate-/r* div-inv
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg 1-exp clear-num cbrt-unprod
fma-udef associate-/l/
Counts
3 → 89
Calls
3 calls:
1.0ms
(fma a c (* b d))
7.0ms
(/ (/ (fma a c (* b d)) (hypot c d)) (* (hypot c d) 1))
4.0ms
(/ (fma a c (* b d)) (hypot c d))

series274.0ms

Counts
3 → 9
Calls
3 calls:
38.0ms
(fma a c (* b d))
118.0ms
(/ (/ (fma a c (* b d)) (hypot c d)) (* (hypot c d) 1))
118.0ms
(/ (fma a c (* b d)) (hypot c d))

simplify78.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 3 (68.0ms)

IterNodesCost
0297767
11133677
23251677
35001670

prune239.0ms

Filtered
98 candidates to 76 candidates (77.6%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New93598
Fresh257
Picked011
Done101
Total9611107

Merged error: 5.9b

Counts
107 → 11

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (/ 1 (* (hypot c d) 1)))
0.3b
(* (sqrt (/ 1 (* (hypot c d) 1))) (/ (* (sqrt (/ 1 (* (hypot c d) 1))) (fma a c (* b d))) (hypot c d)))
6.9b
(/ (* (sqrt (/ 1 (* (hypot c d) 1))) (fma a c (* b d))) (hypot c d))
10.2b
(* (sqrt (/ 1 (* (hypot c d) 1))) (fma a c (* b d)))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
23×sqrt-prod
20×add-exp-log associate-*l* add-cbrt-cube
17×add-cube-cbrt *-un-lft-identity
15×times-frac
12×pow1
10×associate-*r*
prod-exp cbrt-unprod
sqrt-div div-inv
cbrt-undiv expm1-log1p-u sqrt-pow1 div-exp log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down associate-*l/ associate-/r*
pow-flip *-commutative fma-udef
distribute-rgt-in frac-times rem-sqrt-square frac-2neg distribute-lft-in pow1/2 associate-*r/ clear-num associate-/l/ associate-/l* inv-pow
Counts
4 → 117
Calls
4 calls:
4.0ms
(sqrt (/ 1 (* (hypot c d) 1)))
15.0ms
(* (sqrt (/ 1 (* (hypot c d) 1))) (/ (* (sqrt (/ 1 (* (hypot c d) 1))) (fma a c (* b d))) (hypot c d)))
11.0ms
(/ (* (sqrt (/ 1 (* (hypot c d) 1))) (fma a c (* b d))) (hypot c d))
9.0ms
(* (sqrt (/ 1 (* (hypot c d) 1))) (fma a c (* b d)))

series708.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(sqrt (/ 1 (* (hypot c d) 1)))
184.0ms
(* (sqrt (/ 1 (* (hypot c d) 1))) (/ (* (sqrt (/ 1 (* (hypot c d) 1))) (fma a c (* b d))) (hypot c d)))
269.0ms
(/ (* (sqrt (/ 1 (* (hypot c d) 1))) (fma a c (* b d))) (hypot c d))
174.0ms
(* (sqrt (/ 1 (* (hypot c d) 1))) (fma a c (* b d)))

simplify70.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
04691373
122251115
250021054

prune340.0ms

Filtered
129 candidates to 99 candidates (76.7%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New1290129
Fresh099
Picked011
Done011
Total12911140

Merged error: 5.9b

Counts
140 → 11

regimes180.0ms

Accuracy

37.6% (6.9b remaining)

Error of 12.8b against oracle of 5.9b and baseline of 16.9b

bsearch51.0ms

Steps
ItersRangePoint
9
6.706292609373229e+140
6.496812129054123e+149
3.2090803209596246e+146
2
-4.517665970254472e+175
-3.982587382927654e+175
-4.3170115000069156e+175

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02714
13014
23014

end0.0ms

sample502.0ms

Algorithm
intervals
Results
292.0ms8472×body80valid