Details

Time bar (total: 7.5s)

sample88.0ms

Algorithm
intervals
Results
30.0ms88×body1280valid
16.0ms77×body640valid
13.0ms263×body80valid
6.0ms39×body320valid
2.0ms17×body160valid

simplify20.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0267
1576
2876
31146
41326
51516
61716
71736
81736
done1736

prune8.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.3b

localize10.0ms

Local error

Found 2 expressions with local error:

0.1b
(* (cos th) (fma a1 a1 (* a2 a2)))
0.3b
(/ (* (cos th) (fma a1 a1 (* a2 a2))) (sqrt 2.0))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
add-exp-log add-cbrt-cube
add-cube-cbrt *-un-lft-identity
times-frac associate-/r* sqrt-prod
pow1
associate-*r* associate-*l*
cbrt-undiv expm1-log1p-u div-exp prod-exp cbrt-unprod fma-udef log1p-expm1-u add-log-exp
distribute-rgt-in frac-2neg distribute-lft-in pow-prod-down clear-num *-commutative div-inv associate-/l* unswap-sqr
Counts
2 → 51
Calls
2 calls:
9.0ms
(* (cos th) (fma a1 a1 (* a2 a2)))
17.0ms
(/ (* (cos th) (fma a1 a1 (* a2 a2))) (sqrt 2.0))

series343.0ms

Counts
2 → 6
Calls
2 calls:
114.0ms
(* (cos th) (fma a1 a1 (* a2 a2)))
228.0ms
(/ (* (cos th) (fma a1 a1 (* a2 a2))) (sqrt 2.0))

simplify34.0ms

Counts
57 → 57
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0202424
1995365
25001359
done5001359

prune157.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (* (cos th) (hypot a1 a2)) (sqrt (fma a1 a1 (* a2 a2))))
0.1b
(* (cos th) (hypot a1 a2))
0.3b
(/ (* (* (cos th) (hypot a1 a2)) (sqrt (fma a1 a1 (* a2 a2)))) (sqrt 2.0))
7.0b
(sqrt (fma a1 a1 (* a2 a2)))

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
20×add-exp-log add-cbrt-cube
16×add-sqr-sqrt
13×add-cube-cbrt *-un-lft-identity
12×pow1 sqrt-prod
associate-*r*
prod-exp cbrt-unprod
times-frac associate-/r*
expm1-log1p-u associate-*l* pow-prod-down log1p-expm1-u add-log-exp
cbrt-undiv div-exp
*-commutative
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 clear-num fma-udef hypot-def div-inv associate-/l* unswap-sqr
Counts
4 → 90
Calls
4 calls:
22.0ms
(* (* (cos th) (hypot a1 a2)) (sqrt (fma a1 a1 (* a2 a2))))
12.0ms
(* (cos th) (hypot a1 a2))
24.0ms
(/ (* (* (cos th) (hypot a1 a2)) (sqrt (fma a1 a1 (* a2 a2)))) (sqrt 2.0))
2.0ms
(sqrt (fma a1 a1 (* a2 a2)))

series663.0ms

Counts
4 → 12
Calls
4 calls:
189.0ms
(* (* (cos th) (hypot a1 a2)) (sqrt (fma a1 a1 (* a2 a2))))
119.0ms
(* (cos th) (hypot a1 a2))
308.0ms
(/ (* (* (cos th) (hypot a1 a2)) (sqrt (fma a1 a1 (* a2 a2)))) (sqrt 2.0))
46.0ms
(sqrt (fma a1 a1 (* a2 a2)))

simplify46.0ms

Counts
102 → 102
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0305785
11700625
25001573
done5001573

prune284.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (cos th) (hypot a1 a2))
0.2b
(/ (hypot a1 a2) (cbrt (sqrt 2.0)))
0.2b
(/ (* (cos th) (hypot a1 a2)) (* (cbrt (sqrt 2.0)) (cbrt (sqrt 2.0))))
0.3b
(* (/ (* (cos th) (hypot a1 a2)) (* (cbrt (sqrt 2.0)) (cbrt (sqrt 2.0)))) (/ (hypot a1 a2) (cbrt (sqrt 2.0))))

rewrite101.0ms

Algorithm
rewrite-expression-head
Rules
61×add-exp-log add-sqr-sqrt
59×times-frac
48×add-cube-cbrt *-un-lft-identity
44×cbrt-prod
43×add-cbrt-cube
34×associate-*r*
23×prod-exp cbrt-unprod
22×sqrt-prod
18×cbrt-undiv div-exp
10×associate-/r*
pow1 associate-*l*
unswap-sqr
expm1-log1p-u log1p-expm1-u div-inv associate-/l* add-log-exp
frac-2neg pow-prod-down clear-num *-commutative
frac-times associate-*r/ associate-*l/
Counts
4 → 170
Calls
4 calls:
8.0ms
(* (cos th) (hypot a1 a2))
7.0ms
(/ (hypot a1 a2) (cbrt (sqrt 2.0)))
16.0ms
(/ (* (cos th) (hypot a1 a2)) (* (cbrt (sqrt 2.0)) (cbrt (sqrt 2.0))))
62.0ms
(* (/ (* (cos th) (hypot a1 a2)) (* (cbrt (sqrt 2.0)) (cbrt (sqrt 2.0)))) (/ (hypot a1 a2) (cbrt (sqrt 2.0))))

series1.3s

Counts
4 → 12
Calls
4 calls:
119.0ms
(* (cos th) (hypot a1 a2))
290.0ms
(/ (hypot a1 a2) (cbrt (sqrt 2.0)))
595.0ms
(/ (* (cos th) (hypot a1 a2)) (* (cbrt (sqrt 2.0)) (cbrt (sqrt 2.0))))
266.0ms
(* (/ (* (cos th) (hypot a1 a2)) (* (cbrt (sqrt 2.0)) (cbrt (sqrt 2.0)))) (/ (hypot a1 a2) (cbrt (sqrt 2.0))))

simplify111.0ms

Counts
182 → 182
Iterations

Useful iterations: 2 (88.0ms)

IterNodesCost
06362325
137671967
250011857
done50011857

prune702.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (* (cos th) (hypot a1 a2)) (sqrt (fma a1 a1 (* a2 a2))))
0.1b
(* (cos th) (hypot a1 a2))
0.3b
(/ (* (* (cos th) (hypot a1 a2)) (sqrt (fma a1 a1 (* a2 a2)))) (sqrt 2.0))
7.0b
(sqrt (fma a1 a1 (* a2 a2)))

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
20×add-exp-log add-cbrt-cube
16×add-sqr-sqrt
13×add-cube-cbrt *-un-lft-identity
12×pow1 sqrt-prod
associate-*r*
prod-exp cbrt-unprod
times-frac associate-/r*
expm1-log1p-u associate-*l* pow-prod-down log1p-expm1-u add-log-exp
cbrt-undiv div-exp
*-commutative
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 clear-num fma-udef hypot-def div-inv associate-/l* unswap-sqr
Counts
4 → 90
Calls
4 calls:
22.0ms
(* (* (cos th) (hypot a1 a2)) (sqrt (fma a1 a1 (* a2 a2))))
9.0ms
(* (cos th) (hypot a1 a2))
26.0ms
(/ (* (* (cos th) (hypot a1 a2)) (sqrt (fma a1 a1 (* a2 a2)))) (sqrt 2.0))
2.0ms
(sqrt (fma a1 a1 (* a2 a2)))

series649.0ms

Counts
4 → 12
Calls
4 calls:
191.0ms
(* (* (cos th) (hypot a1 a2)) (sqrt (fma a1 a1 (* a2 a2))))
110.0ms
(* (cos th) (hypot a1 a2))
298.0ms
(/ (* (* (cos th) (hypot a1 a2)) (sqrt (fma a1 a1 (* a2 a2)))) (sqrt 2.0))
49.0ms
(sqrt (fma a1 a1 (* a2 a2)))

simplify47.0ms

Counts
102 → 102
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0305785
11700625
25001573
done5001573

prune275.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

regimes145.0ms

Accuracy

0% (0.4b remaining)

Error of 0.4b against oracle of 0.0b and baseline of 0.4b

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01514
11514
done1514

end0.0ms

sample2.4s

Algorithm
intervals
Results
819.0ms2550×body1280valid
445.0ms2099×body640valid
404.0ms8227×body80valid
164.0ms1059×body320valid
51.0ms494×body160valid