Details

Time bar (total: 9.2s)

sample103.0ms

Algorithm
intervals
Results
36.0ms741×body80nan
10.0ms32×body640valid
9.0ms169×body80valid
9.0ms15×body1280valid
4.0ms22×body320valid
2.0ms19×body160valid

simplify368.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
01213
12212
23712
34712
45512
57212
610812
718112
825012
929912
1033212
1134212
done34212

prune7.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 10.7b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (+ (* x (log y)) (* z (log (- 1.0 y)))) t)
0.0b
(* z (log (- 1.0 y)))
0.2b
(* x (log y))
5.7b
(log (- 1.0 y))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
28×*-un-lft-identity
21×log-prod
20×add-cube-cbrt
11×pow1
add-exp-log prod-diff add-log-exp
distribute-rgt-in distribute-lft-in associate-*r* add-cbrt-cube
associate-*l*
expm1-log1p-u log1p-expm1-u distribute-lft-out-- difference-of-squares
fma-neg log-pow
log-div flip3-- diff-log pow-prod-down prod-exp *-commutative flip-- cbrt-unprod unswap-sqr
sub-neg rem-log-exp associate--l+ sum-log
Counts
4 → 106
Calls
4 calls:
22.0ms
(- (+ (* x (log y)) (* z (log (- 1.0 y)))) t)
7.0ms
(* z (log (- 1.0 y)))
4.0ms
(* x (log y))
3.0ms
(log (- 1.0 y))

series234.0ms

Counts
4 → 12
Calls
4 calls:
86.0ms
(- (+ (* x (log y)) (* z (log (- 1.0 y)))) t)
62.0ms
(* z (log (- 1.0 y)))
43.0ms
(* x (log y))
43.0ms
(log (- 1.0 y))

simplify628.0ms

Counts
118 → 118
Iterations

Useful iterations: 2 (154.0ms)

IterNodesCost
02411599
15361423
218461228
done50001228

prune344.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.1b

localize21.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (+ (* x (log y)) (fma z (log 1.0) (- (fma 1.0 (* z y) (* 1/2 (/ (* z (pow y 2)) (pow 1.0 2))))))) t)
0.0b
(fma 1.0 (* z y) (* 1/2 (/ (* z (pow y 2)) (pow 1.0 2))))
0.2b
(* x (log y))
7.4b
(* z (pow y 2))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
20×*-un-lft-identity
18×add-cube-cbrt
12×associate-*r*
11×add-exp-log
prod-diff add-log-exp
add-cbrt-cube
pow1
log-prod associate-*l*
unswap-sqr
expm1-log1p-u unpow-prod-down prod-exp log1p-expm1-u
distribute-rgt-in distribute-lft-in fma-neg
diff-log *-commutative cbrt-unprod unpow2 sqr-pow
pow-to-exp sub-neg flip3-- pow-prod-down pow-exp associate--l+ sum-log log-pow flip-- fma-udef distribute-lft-out-- difference-of-squares
Counts
4 → 96
Calls
4 calls:
23.0ms
(- (+ (* x (log y)) (fma z (log 1.0) (- (fma 1.0 (* z y) (* 1/2 (/ (* z (pow y 2)) (pow 1.0 2))))))) t)
0.0ms
(fma 1.0 (* z y) (* 1/2 (/ (* z (pow y 2)) (pow 1.0 2))))
4.0ms
(* x (log y))
6.0ms
(* z (pow y 2))

series355.0ms

Counts
4 → 12
Calls
4 calls:
181.0ms
(- (+ (* x (log y)) (fma z (log 1.0) (- (fma 1.0 (* z y) (* 1/2 (/ (* z (pow y 2)) (pow 1.0 2))))))) t)
106.0ms
(fma 1.0 (* z y) (* 1/2 (/ (* z (pow y 2)) (pow 1.0 2))))
36.0ms
(* x (log y))
32.0ms
(* z (pow y 2))

simplify789.0ms

Counts
108 → 108
Iterations

Useful iterations: 2 (129.0ms)

IterNodesCost
01922141
13981974
214371709
done50001709

prune442.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.1b

localize23.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (fma x (log y) (fma z (log 1.0) (- (fma 1.0 (* z y) (* 1/2 (/ (* z (pow y 2)) (pow 1.0 2))))))) t)
0.0b
(fma 1.0 (* z y) (* 1/2 (/ (* z (pow y 2)) (pow 1.0 2))))
0.2b
(fma x (log y) (fma z (log 1.0) (- (fma 1.0 (* z y) (* 1/2 (/ (* z (pow y 2)) (pow 1.0 2)))))))
7.4b
(* z (pow y 2))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt
16×*-un-lft-identity
14×add-cube-cbrt
add-exp-log prod-diff
associate-*r*
add-cbrt-cube add-log-exp
pow1 expm1-log1p-u unpow-prod-down log1p-expm1-u unswap-sqr
fma-neg associate-*l* prod-exp fma-udef
unpow2 sqr-pow
pow-to-exp sub-neg flip3-- diff-log pow-exp associate--l+ *-commutative flip-- cbrt-unprod distribute-lft-out-- difference-of-squares
Counts
4 → 78
Calls
4 calls:
3.0ms
(- (fma x (log y) (fma z (log 1.0) (- (fma 1.0 (* z y) (* 1/2 (/ (* z (pow y 2)) (pow 1.0 2))))))) t)
0.0ms
(fma 1.0 (* z y) (* 1/2 (/ (* z (pow y 2)) (pow 1.0 2))))
0.0ms
(fma x (log y) (fma z (log 1.0) (- (fma 1.0 (* z y) (* 1/2 (/ (* z (pow y 2)) (pow 1.0 2)))))))
6.0ms
(* z (pow y 2))

series439.0ms

Counts
4 → 12
Calls
4 calls:
181.0ms
(- (fma x (log y) (fma z (log 1.0) (- (fma 1.0 (* z y) (* 1/2 (/ (* z (pow y 2)) (pow 1.0 2))))))) t)
106.0ms
(fma 1.0 (* z y) (* 1/2 (/ (* z (pow y 2)) (pow 1.0 2))))
121.0ms
(fma x (log y) (fma z (log 1.0) (- (fma 1.0 (* z y) (* 1/2 (/ (* z (pow y 2)) (pow 1.0 2)))))))
29.0ms
(* z (pow y 2))

simplify531.0ms

Counts
90 → 90
Iterations

Useful iterations: done (528.0ms)

IterNodesCost
01442223
13052056
210711811
done50001734

prune409.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.1b

localize22.0ms

Local error

Found 3 expressions with local error:

0.0b
(* z (+ (* 1.0 y) (* 0.5 (pow y 2))))
0.0b
(- (fma x (log y) (fma z (log 1.0) (- (* z (+ (* 1.0 y) (* 0.5 (pow y 2))))))) t)
0.2b
(fma x (log y) (fma z (log 1.0) (- (* z (+ (* 1.0 y) (* 0.5 (pow y 2)))))))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
14×*-un-lft-identity
12×add-cube-cbrt
prod-diff
pow1 add-exp-log add-cbrt-cube add-log-exp
expm1-log1p-u fma-neg associate-*r* associate-*l* log1p-expm1-u
associate-*r/ fma-udef
distribute-rgt-in sub-neg flip3-- distribute-lft-in flip3-+ diff-log pow-prod-down prod-exp associate--l+ *-commutative flip-- cbrt-unprod flip-+ distribute-lft-out-- difference-of-squares unswap-sqr
Counts
3 → 63
Calls
3 calls:
8.0ms
(* z (+ (* 1.0 y) (* 0.5 (pow y 2))))
3.0ms
(- (fma x (log y) (fma z (log 1.0) (- (* z (+ (* 1.0 y) (* 0.5 (pow y 2))))))) t)
0.0ms
(fma x (log y) (fma z (log 1.0) (- (* z (+ (* 1.0 y) (* 0.5 (pow y 2)))))))

series361.0ms

Counts
3 → 9
Calls
3 calls:
87.0ms
(* z (+ (* 1.0 y) (* 0.5 (pow y 2))))
162.0ms
(- (fma x (log y) (fma z (log 1.0) (- (* z (+ (* 1.0 y) (* 0.5 (pow y 2))))))) t)
112.0ms
(fma x (log y) (fma z (log 1.0) (- (* z (+ (* 1.0 y) (* 0.5 (pow y 2)))))))

simplify530.0ms

Counts
72 → 72
Iterations

Useful iterations: 2 (106.0ms)

IterNodesCost
01291862
13361633
213431339
done50001339

prune285.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.1b

regimes217.0ms

Accuracy

0% (0.1b remaining)

Error of 0.3b against oracle of 0.2b and baseline of 0.3b

bsearch0.0ms

simplify5.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02126
13126
23726
34926
done4926

end0.0ms

sample3.0s

Algorithm
intervals
Results
1.1s24144×body80nan
283.0ms5529×body80valid
270.0ms904×body640valid
245.0ms411×body1280valid
130.0ms736×body320valid
49.0ms444×body160valid