Details

Time bar (total: 12.3s)

sample34.0ms

Algorithm
intervals
Results
10.0ms261×body80nan
8.0ms256×body80valid

simplify36.0ms

Counts
1 → 1
Iterations

Useful iterations: 2 (6.0ms)

IterNodesCost
01114
12212
24211
35811
46211
56311
done6311

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 18.5b

localize14.0ms

Local error

Found 3 expressions with local error:

0.4b
(+ (* x y) (* x z))
1.4b
(+ (+ (* x y) (* x z)) (* y z))
17.5b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
10×add-log-exp
add-sqr-sqrt
add-cube-cbrt fma-def *-un-lft-identity
pow1 sum-log
add-exp-log expm1-log1p-u flip3-+ sqrt-prod add-cbrt-cube flip-+ log1p-expm1-u
+-commutative sqrt-div distribute-lft-out
rem-sqrt-square associate-+l+ sqrt-pow1 pow1/2
Counts
3 → 51
Calls
3 calls:
3.0ms
(+ (* x y) (* x z))
13.0ms
(+ (+ (* x y) (* x z)) (* y z))
15.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series182.0ms

Counts
3 → 9
Calls
3 calls:
38.0ms
(+ (* x y) (* x z))
23.0ms
(+ (+ (* x y) (* x z)) (* y z))
120.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

simplify2.1s

Counts
60 → 60
Iterations

Useful iterations: done (2.1s)

IterNodesCost
092853
1270652
2908584
33442573
done5001570

prune213.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 18.4b

localize12.0ms

Local error

Found 4 expressions with local error:

0.5b
(fma x z (* y (+ z x)))
0.5b
(* (sqrt (sqrt (fma x z (* y (+ z x))))) (sqrt (sqrt (fma x z (* y (+ z x))))))
17.5b
(sqrt (fma x z (* y (+ z x))))
17.5b
(sqrt (fma x z (* y (+ z x))))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
72×sqrt-prod
50×add-sqr-sqrt
34×sqrt-pow1
29×pow1
18×add-cube-cbrt *-un-lft-identity pow1/2
15×swap-sqr
associate-*r* associate-*l* pow-prod-up unswap-sqr
add-exp-log add-cbrt-cube
pow-prod-down pow-sqr
expm1-log1p-u log1p-expm1-u add-log-exp
rem-sqrt-square
pow2 pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod fma-udef
Counts
4 → 117
Calls
4 calls:
0.0ms
(fma x z (* y (+ z x)))
13.0ms
(* (sqrt (sqrt (fma x z (* y (+ z x))))) (sqrt (sqrt (fma x z (* y (+ z x))))))
2.0ms
(sqrt (fma x z (* y (+ z x))))
1.0ms
(sqrt (fma x z (* y (+ z x))))

series394.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(fma x z (* y (+ z x)))
122.0ms
(* (sqrt (sqrt (fma x z (* y (+ z x))))) (sqrt (sqrt (fma x z (* y (+ z x))))))
125.0ms
(sqrt (fma x z (* y (+ z x))))
121.0ms
(sqrt (fma x z (* y (+ z x))))

simplify1.4s

Counts
129 → 129
Iterations

Useful iterations: done (1.4s)

IterNodesCost
01092711
11971644
25061506
319331452
done50011443

prune311.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 18.4b

localize23.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (sqrt (sqrt (fma x z (* y (+ z x))))) (sqrt (* (fabs (cbrt (fma x z (* y (+ z x))))) (sqrt (cbrt (fma x z (* y (+ z x))))))))
17.5b
(sqrt (fma x z (* y (+ z x))))
18.1b
(cbrt (fma x z (* y (+ z x))))
18.1b
(cbrt (fma x z (* y (+ z x))))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
16×sqrt-prod
12×pow1
11×add-cube-cbrt *-un-lft-identity
associate-*l*
add-exp-log cbrt-prod add-cbrt-cube
sqrt-pow1 pow-prod-down
expm1-log1p-u associate-*r* log1p-expm1-u add-log-exp
pow1/2 unswap-sqr
pow1/3
rem-sqrt-square sqrt-unprod prod-exp *-commutative cbrt-unprod
Counts
4 → 74
Calls
4 calls:
17.0ms
(* (sqrt (sqrt (fma x z (* y (+ z x))))) (sqrt (* (fabs (cbrt (fma x z (* y (+ z x))))) (sqrt (cbrt (fma x z (* y (+ z x))))))))
1.0ms
(sqrt (fma x z (* y (+ z x))))
1.0ms
(cbrt (fma x z (* y (+ z x))))
1.0ms
(cbrt (fma x z (* y (+ z x))))

series886.0ms

Counts
4 → 12
Calls
4 calls:
290.0ms
(* (sqrt (sqrt (fma x z (* y (+ z x))))) (sqrt (* (fabs (cbrt (fma x z (* y (+ z x))))) (sqrt (cbrt (fma x z (* y (+ z x))))))))
124.0ms
(sqrt (fma x z (* y (+ z x))))
235.0ms
(cbrt (fma x z (* y (+ z x))))
236.0ms
(cbrt (fma x z (* y (+ z x))))

simplify1.5s

Counts
86 → 86
Iterations

Useful iterations: done (1.5s)

IterNodesCost
01622216
13762090
210141943
332171882
done50001879

prune439.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 18.4b

localize16.0ms

Local error

Found 4 expressions with local error:

0.5b
(fma x z (* y (+ z x)))
0.7b
(pow (sqrt (sqrt (sqrt (fma x z (* y (+ z x)))))) 3)
17.5b
(sqrt (fma x z (* y (+ z x))))
17.5b
(sqrt (fma x z (* y (+ z x))))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
42×sqrt-prod
17×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
12×unpow-prod-down cube-prod
11×sqrt-pow1
10×pow1
pow-pow
add-exp-log pow1/2 add-cbrt-cube
expm1-log1p-u log1p-expm1-u add-log-exp
pow-unpow
rem-sqrt-square
cube-mult pow-to-exp unpow3 pow-exp sqrt-pow2 fma-udef rem-cube-cbrt sqr-pow
Counts
4 → 90
Calls
4 calls:
0.0ms
(fma x z (* y (+ z x)))
5.0ms
(pow (sqrt (sqrt (sqrt (fma x z (* y (+ z x)))))) 3)
1.0ms
(sqrt (fma x z (* y (+ z x))))
1.0ms
(sqrt (fma x z (* y (+ z x))))

series635.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(fma x z (* y (+ z x)))
373.0ms
(pow (sqrt (sqrt (sqrt (fma x z (* y (+ z x)))))) 3)
119.0ms
(sqrt (fma x z (* y (+ z x))))
120.0ms
(sqrt (fma x z (* y (+ z x))))

simplify2.4s

Counts
102 → 102
Iterations

Useful iterations: 3 (830.0ms)

IterNodesCost
01811775
14641462
211481397
345451368
done50001368

prune362.0ms

Pruning

10 alts after pruning (7 fresh and 3 done)

Merged error: 18.4b

regimes399.0ms

Accuracy

0% (0.1b remaining)

Error of 19.8b against oracle of 19.8b and baseline of 19.8b

bsearch0.0ms

simplify6.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01114
11714
done1714

end0.0ms

sample823.0ms

Algorithm
intervals
Results
251.0ms8000×body80valid
247.0ms7980×body80nan