Details

Time bar (total: 10.6s)

sample21.0ms

Algorithm
intervals
Results
9.0ms277×body80valid

simplify7.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
01115
11713
22113
done2113

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 24.9b

localize12.0ms

Local error

Found 2 expressions with local error:

0.3b
(fma a c (* b d))
24.5b
(/ (fma a c (* b d)) (fma c c (* d d)))

rewrite3.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log add-cbrt-cube
associate-/r* associate-/l*
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
cbrt-undiv frac-2neg div-exp clear-num fma-udef div-inv
Counts
2 → 39
Calls
2 calls:
0.0ms
(fma a c (* b d))
2.0ms
(/ (fma a c (* b d)) (fma c c (* d d)))

series124.0ms

Counts
2 → 6
Calls
2 calls:
37.0ms
(fma a c (* b d))
87.0ms
(/ (fma a c (* b d)) (fma c c (* d d)))

simplify1.6s

Counts
45 → 45
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
064725
1103714
2309622
3951622
42921622
done5000622

prune148.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 15.8b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
43×add-sqr-sqrt
34×times-frac
28×add-exp-log *-un-lft-identity
26×add-cube-cbrt
18×add-cbrt-cube
13×associate-*r* associate-*l*
div-exp
prod-exp
pow1 unswap-sqr
cbrt-undiv
expm1-log1p-u cbrt-unprod log1p-expm1-u add-log-exp
associate-/r* div-inv associate-/l*
rec-exp 1-exp
frac-times hypot-udef frac-2neg associate-*r/ pow-prod-down associate-*l/ clear-num *-commutative fma-udef
Counts
4 → 107
Calls
4 calls:
0.0ms
(hypot c d)
0.0ms
(fma a c (* b d))
16.0ms
(* (/ 1 (hypot c d)) (/ (fma a c (* b d)) (hypot c d)))
2.0ms
(/ (fma a c (* b d)) (hypot c d))

series385.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(hypot c d)
41.0ms
(fma a c (* b d))
183.0ms
(* (/ 1 (hypot c d)) (/ (fma a c (* b d)) (hypot c d)))
116.0ms
(/ (fma a c (* b d)) (hypot c d))

simplify811.0ms

Counts
119 → 119
Iterations

Useful iterations: 2 (130.0ms)

IterNodesCost
01461955
13681833
214221579
done50021579

prune327.0ms

Pruning

14 alts after pruning (13 fresh and 1 done)

Merged error: 4.5b

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (/ (hypot c d) (fma a c (* b d))))
0.3b
(fma a c (* b d))
0.3b
(* (/ 1 (hypot c d)) (/ 1 (/ (hypot c d) (fma a c (* b d)))))
15.4b
(/ (hypot c d) (fma a c (* b d)))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
187×times-frac
143×add-sqr-sqrt
107×*-un-lft-identity
100×add-exp-log
96×add-cube-cbrt
50×div-exp
44×associate-*r*
32×add-cbrt-cube
28×prod-exp
17×rec-exp 1-exp
16×associate-/r*
15×unswap-sqr
13×cbrt-undiv associate-*l*
11×div-inv
pow1
cbrt-unprod associate-/l*
expm1-log1p-u log1p-expm1-u add-log-exp
pow-flip pow-prod-down inv-pow
frac-2neg clear-num associate-/r/
frac-times associate-*r/ associate-*l/ un-div-inv *-commutative fma-udef
Counts
4 → 240
Calls
4 calls:
5.0ms
(/ 1 (/ (hypot c d) (fma a c (* b d))))
0.0ms
(fma a c (* b d))
30.0ms
(* (/ 1 (hypot c d)) (/ 1 (/ (hypot c d) (fma a c (* b d)))))
2.0ms
(/ (hypot c d) (fma a c (* b d)))

series423.0ms

Counts
4 → 12
Calls
4 calls:
111.0ms
(/ 1 (/ (hypot c d) (fma a c (* b d))))
40.0ms
(fma a c (* b d))
181.0ms
(* (/ 1 (hypot c d)) (/ 1 (/ (hypot c d) (fma a c (* b d)))))
91.0ms
(/ (hypot c d) (fma a c (* b d)))

simplify2.6s

Counts
252 → 252
Iterations

Useful iterations: done (2.6s)

IterNodesCost
02915363
18434825
226554048
done50004042

prune544.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 4.5b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite12.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
pow1 cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u add-log-exp
hypot-udef frac-2neg clear-num
associate-/l/
Counts
4 → 121
Calls
4 calls:
0.0ms
(hypot c d)
0.0ms
(hypot c d)
6.0ms
(/ (/ (fma d b (* a c)) (hypot c d)) (hypot c d))
2.0ms
(/ (fma d b (* a c)) (hypot c d))

series282.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(hypot c d)
43.0ms
(hypot c d)
100.0ms
(/ (/ (fma d b (* a c)) (hypot c d)) (hypot c d))
94.0ms
(/ (fma d b (* a c)) (hypot c d))

simplify2.0s

Counts
133 → 133
Iterations

Useful iterations: 3 (601.0ms)

IterNodesCost
01612502
13392439
211232262
335962208
done50002208

prune366.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 1.8b

regimes221.0ms

Accuracy

26.8% (10.4b remaining)

Error of 12.9b against oracle of 2.5b and baseline of 16.8b

bsearch61.0ms

Steps
ItersRangePoint
5
8.957497130921995e+173
2.753131322655158e+174
9.568321133628251e+173
9
-2.4646235951984806e+94
-5.042571483055581e+85
-2.417601261285543e+94

simplify7.0ms

Iterations

Useful iterations: 2 (2.0ms)

IterNodesCost
02343
13139
23435
34135
44435
54635
done4635

end0.0ms

sample506.0ms

Algorithm
intervals
Results
286.0ms8488×body80valid