Details

Time bar (total: 3.4s)

sample21.0ms

Algorithm
intervals
Results
9.0ms273×body80valid

simplify5.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0177
1217
2217
done217

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 25.7b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* c c) (* d d))
0.7b
(+ (* a c) (* b d))
25.2b
(/ (+ (* a c) (* b d)) (+ (* c c) (* d d)))

rewrite51.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:
8.0ms
(+ (* c c) (* d d))
8.0ms
(+ (* a c) (* b d))
34.0ms
(/ (+ (* a c) (* b d)) (+ (* c c) (* d d)))

series155.0ms

Counts
3 → 9
Calls
3 calls:
30.0ms
(+ (* c c) (* d d))
36.0ms
(+ (* a c) (* b d))
88.0ms
(/ (+ (* a c) (* b d)) (+ (* c c) (* d d)))

simplify133.0ms

Counts
70 → 70
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0290532
11199475
24872462
35001462
done5001462

prune202.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 18.3b

localize11.0ms

Local error

Found 3 expressions with local error:

0.3b
(* (/ 1 (* (hypot c d) 1)) (/ (fma a c (* b d)) (* (hypot c d) 1)))
0.5b
(fma a c (* b d))
17.9b
(/ (fma a c (* b d)) (* (hypot c d) 1))

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
154×add-exp-log
86×prod-exp
57×div-exp
44×add-cbrt-cube
35×1-exp
16×cbrt-unprod
14×cbrt-undiv
12×rec-exp
11×add-sqr-sqrt
add-cube-cbrt *-un-lft-identity times-frac
associate-*r* associate-*l*
pow1
expm1-log1p-u log1p-expm1-u div-inv associate-/l* add-log-exp
frac-times frac-2neg associate-*r/ pow-prod-down associate-*l/ clear-num associate-/r* *-commutative fma-udef unswap-sqr
Counts
3 → 112
Calls
3 calls:
50.0ms
(* (/ 1 (* (hypot c d) 1)) (/ (fma a c (* b d)) (* (hypot c d) 1)))
0.0ms
(fma a c (* b d))
8.0ms
(/ (fma a c (* b d)) (* (hypot c d) 1))

series355.0ms

Counts
3 → 9
Calls
3 calls:
188.0ms
(* (/ 1 (* (hypot c d) 1)) (/ (fma a c (* b d)) (* (hypot c d) 1)))
41.0ms
(fma a c (* b d))
126.0ms
(/ (fma a c (* b d)) (* (hypot c d) 1))

simplify47.0ms

Counts
121 → 121
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
04721079
11607796
25001794
done5001794

prune226.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 7.6b

localize10.0ms

Local error

Found 3 expressions with local error:

0.1b
(/ (/ (fma a c (* b d)) (hypot c d)) (* (hypot c d) 1))
0.5b
(fma a c (* b d))
17.9b
(/ (fma a c (* b d)) (hypot c d))

rewrite24.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:
14.0ms
(/ (/ (fma a c (* b d)) (hypot c d)) (* (hypot c d) 1))
0.0ms
(fma a c (* b d))
7.0ms
(/ (fma a c (* b d)) (hypot c d))

series296.0ms

Counts
3 → 9
Calls
3 calls:
130.0ms
(/ (/ (fma a c (* b d)) (hypot c d)) (* (hypot c d) 1))
42.0ms
(fma a c (* b d))
124.0ms
(/ (fma a c (* b d)) (hypot c d))

simplify78.0ms

Counts
98 → 98
Iterations

Useful iterations: 3 (70.0ms)

IterNodesCost
0297767
11133677
23251677
35001670
done5001670

prune275.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 7.5b

localize11.0ms

Local error

Found 3 expressions with local error:

0.1b
(/ (* (fma a c (* b d)) (/ 1 (hypot c d))) (* (hypot c d) 1))
0.5b
(fma a c (* b d))
18.0b
(* (fma a c (* b d)) (/ 1 (hypot c d)))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
62×add-exp-log
29×add-cbrt-cube
26×prod-exp
23×div-exp
18×add-sqr-sqrt
13×associate-*r*
12×*-un-lft-identity times-frac
11×add-cube-cbrt
cbrt-undiv 1-exp cbrt-unprod
pow1
rec-exp
expm1-log1p-u associate-*l* log1p-expm1-u add-log-exp unswap-sqr
associate-*r/ un-div-inv div-inv associate-/l/
frac-2neg pow-prod-down clear-num associate-/r* *-commutative fma-udef associate-/l*
Counts
3 → 86
Calls
3 calls:
18.0ms
(/ (* (fma a c (* b d)) (/ 1 (hypot c d))) (* (hypot c d) 1))
0.0ms
(fma a c (* b d))
15.0ms
(* (fma a c (* b d)) (/ 1 (hypot c d)))

series299.0ms

Counts
3 → 9
Calls
3 calls:
127.0ms
(/ (* (fma a c (* b d)) (/ 1 (hypot c d))) (* (hypot c d) 1))
46.0ms
(fma a c (* b d))
126.0ms
(* (fma a c (* b d)) (/ 1 (hypot c d)))

simplify44.0ms

Counts
95 → 95
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0385730
11623579
25001550
done5001550

prune184.0ms

Pruning

13 alts after pruning (11 fresh and 2 done)

Merged error: 7.5b

regimes231.0ms

Accuracy

24.7% (8.2b remaining)

Error of 13.6b against oracle of 5.5b and baseline of 16.3b

bsearch51.0ms

Steps
ItersRangePoint
7
1.3381238936583669e+69
2.3069922374741435e+70
2.2847758660481544e+70
6
-7.922501144416864e+66
-5.906598016548616e+65
-7.723814496095852e+66

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02714
13014
23014
done3014

end0.0ms

sample569.0ms

Algorithm
intervals
Results
285.0ms8463×body80valid