Details

Time bar (total: 17.6s)

sample92.0ms

Algorithm
intervals
Results
16.0ms279×body80nan
16.0ms256×body80valid

simplify79.0ms

Counts
1 → 1
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
01114
12212
24411
36311
46711
56811
done6811

prune8.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 17.5b

localize28.0ms

Local error

Found 3 expressions with local error:

0.6b
(+ (* x y) (* x z))
1.2b
(+ (+ (* x y) (* x z)) (* y z))
16.6b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite93.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:
14.0ms
(+ (* x y) (* x z))
41.0ms
(+ (+ (* x y) (* x z)) (* y z))
36.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series244.0ms

Counts
3 → 9
Calls
3 calls:
46.0ms
(+ (* x y) (* x z))
31.0ms
(+ (+ (* x y) (* x z)) (* y z))
167.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

simplify3.4s

Counts
60 → 60
Iterations

Useful iterations: done (3.4s)

IterNodesCost
092853
1271652
2970584
34050573
done5000572

prune333.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 17.5b

localize13.0ms

Local error

Found 3 expressions with local error:

0.0b
(* y (+ z x))
0.5b
(fma z x (* y (+ z x)))
16.6b
(sqrt (fma z x (* y (+ z x))))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
*-un-lft-identity
pow1 add-cube-cbrt
add-exp-log add-cbrt-cube
associate-*r*
expm1-log1p-u associate-*l* sqrt-prod log1p-expm1-u add-log-exp
associate-*r/
distribute-rgt-in rem-sqrt-square distribute-lft-in sqrt-pow1 flip3-+ pow1/2 pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ fma-udef distribute-lft-out unswap-sqr
Counts
3 → 50
Calls
3 calls:
20.0ms
(* y (+ z x))
0.0ms
(fma z x (* y (+ z x)))
2.0ms
(sqrt (fma z x (* y (+ z x))))

series195.0ms

Counts
3 → 9
Calls
3 calls:
43.0ms
(* y (+ z x))
26.0ms
(fma z x (* y (+ z x)))
125.0ms
(sqrt (fma z x (* y (+ z x))))

simplify1.6s

Counts
59 → 59
Iterations

Useful iterations: done (1.6s)

IterNodesCost
090581
1214532
2637483
32279479
done5000476

prune262.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 17.5b

localize34.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt y)
0.6b
(cbrt y)
0.6b
(cbrt y)
16.6b
(sqrt (fma z x (* (* (cbrt y) (cbrt y)) (* (cbrt y) (+ z x)))))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow1/3 sqrt-prod
rem-sqrt-square sqrt-pow1 pow1/2
Counts
4 → 54
Calls
4 calls:
2.0ms
(cbrt y)
2.0ms
(cbrt y)
2.0ms
(cbrt y)
13.0ms
(sqrt (fma z x (* (* (cbrt y) (cbrt y)) (* (cbrt y) (+ z x)))))

series1.1s

Counts
4 → 12
Calls
4 calls:
335.0ms
(cbrt y)
328.0ms
(cbrt y)
300.0ms
(cbrt y)
171.0ms
(sqrt (fma z x (* (* (cbrt y) (cbrt y)) (* (cbrt y) (+ z x)))))

simplify4.0s

Counts
66 → 66
Iterations

Useful iterations: 4 (1.9s)

IterNodesCost
065570
1133515
2329417
3940359
43271356
done5000356

prune409.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 17.4b

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite33.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 z x (* y (+ z x)))
24.0ms
(* (sqrt (sqrt (fma z x (* y (+ z x))))) (sqrt (sqrt (fma z x (* y (+ z x))))))
2.0ms
(sqrt (fma z x (* y (+ z x))))
2.0ms
(sqrt (fma z x (* y (+ z x))))

series561.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(fma z x (* y (+ z x)))
148.0ms
(* (sqrt (sqrt (fma z x (* y (+ z x))))) (sqrt (sqrt (fma z x (* y (+ z x))))))
165.0ms
(sqrt (fma z x (* y (+ z x))))
203.0ms
(sqrt (fma z x (* y (+ z x))))

simplify1.9s

Counts
129 → 129
Iterations

Useful iterations: done (1.9s)

IterNodesCost
01102711
11991644
25111519
319421452
done50001401

prune466.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 17.4b

regimes175.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify4.0ms

Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
01113
11711
done1711

end0.0ms

sample2.5s

Algorithm
intervals
Results
1.2s7961×body80nan
651.0ms8000×body80valid