Details

Time bar (total: 9.5s)

sample22.0ms

Algorithm
intervals
Results
11.0ms264×body80valid

simplify46.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
01115
12114
24014
35614
47614
58814
69214
done9214

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 25.5b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma c c (* d d))
1.2b
(- (* b c) (* a d))
25.0b
(/ (- (* b c) (* a d)) (fma c c (* d d)))

rewrite11.0ms

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

series158.0ms

Counts
3 → 9
Calls
3 calls:
35.0ms
(fma c c (* d d))
37.0ms
(- (* b c) (* a d))
86.0ms
(/ (- (* b c) (* a d)) (fma c c (* d d)))

simplify1.6s

Counts
67 → 67
Iterations

Useful iterations: done (1.6s)

IterNodesCost
0961039
12231011
2784892
33584892
done5000890

prune188.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 16.3b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot d c)
0.2b
(* (/ 1 (hypot d c)) (/ (fma b c (- (* d a))) (hypot d c)))
0.3b
(fma b c (- (* d a)))
15.9b
(/ (fma b c (- (* d a))) (hypot d c))

rewrite22.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 d c)
16.0ms
(* (/ 1 (hypot d c)) (/ (fma b c (- (* d a))) (hypot d c)))
0.0ms
(fma b c (- (* d a)))
2.0ms
(/ (fma b c (- (* d a))) (hypot d c))

series375.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(hypot d c)
161.0ms
(* (/ 1 (hypot d c)) (/ (fma b c (- (* d a))) (hypot d c)))
44.0ms
(fma b c (- (* d a)))
127.0ms
(/ (fma b c (- (* d a))) (hypot d c))

simplify1.2s

Counts
119 → 119
Iterations

Useful iterations: 2 (143.0ms)

IterNodesCost
01472085
13651952
211151694
done50011694

prune317.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 4.8b

localize12.0ms

Local error

Found 4 expressions with local error:

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

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
frac-2neg clear-num
hypot-udef fma-udef associate-/l/
Counts
4 → 121
Calls
4 calls:
0.0ms
(hypot d c)
5.0ms
(/ (/ (fma b c (- (* d a))) (hypot d c)) (hypot d c))
0.0ms
(fma b c (- (* d a)))
2.0ms
(/ (fma b c (- (* d a))) (hypot d c))

series335.0ms

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

simplify1.3s

Counts
133 → 133
Iterations

Useful iterations: done (1.3s)

IterNodesCost
01682712
13442650
29102455
331792401
done50002399

prune420.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 4.8b

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (/ 1 (/ (hypot d c) (fma b c (- (* d a))))) (hypot d c))
0.2b
(/ 1 (/ (hypot d c) (fma b c (- (* d a)))))
0.3b
(fma b c (- (* d a)))
16.0b
(/ (hypot d c) (fma b c (- (* d a))))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
480×times-frac
239×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
50×associate-/l*
36×add-exp-log
23×div-inv
22×div-exp
20×add-cbrt-cube
19×associate-/r*
10×cbrt-undiv
pow1 associate-/r/
expm1-log1p-u rec-exp 1-exp log1p-expm1-u add-log-exp
frac-2neg clear-num
pow-flip fma-udef associate-/l/ inv-pow
Counts
4 → 319
Calls
4 calls:
17.0ms
(/ (/ 1 (/ (hypot d c) (fma b c (- (* d a))))) (hypot d c))
5.0ms
(/ 1 (/ (hypot d c) (fma b c (- (* d a)))))
0.0ms
(fma b c (- (* d a)))
2.0ms
(/ (hypot d c) (fma b c (- (* d a))))

series441.0ms

Counts
4 → 12
Calls
4 calls:
160.0ms
(/ (/ 1 (/ (hypot d c) (fma b c (- (* d a))))) (hypot d c))
147.0ms
(/ 1 (/ (hypot d c) (fma b c (- (* d a)))))
42.0ms
(fma b c (- (* d a)))
91.0ms
(/ (hypot d c) (fma b c (- (* d a))))

simplify1.4s

Counts
331 → 331
Iterations

Useful iterations: done (1.4s)

IterNodesCost
04589296
110788209
225047631
done50007577

prune611.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 1.9b

regimes213.0ms

Accuracy

28.7% (10.0b remaining)

Error of 12.5b against oracle of 2.5b and baseline of 16.5b

bsearch76.0ms

Steps
ItersRangePoint
6
2.364246562673592e+136
1.4357828132925017e+137
2.5019882417216274e+136
10
-1.4584171055257321e+175
-1.1045029026290381e+161
-5.9876509466672635e+162

simplify6.0ms

Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
02651
13745
24045
34345
44445
done4445

end0.0ms

sample511.0ms

Algorithm
intervals
Results
294.0ms8495×body80valid