Details

Time bar (total: 1.3m)

sample97.0ms

Algorithm
intervals
Results
44.0ms403×body80valid

simplify2.5s

Counts
1 → 1
Iterations

Useful iterations: 4 (432.0ms)

IterNodesCost
01821
13821
211819
342219
4218818
done500018

prune15.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize19.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma z (- 1.0 y) (fma a (- 1.0 t) x))
0.0b
(fma b (- (+ y t) 2.0) (fma z (- 1.0 y) (fma a (- 1.0 t) x)))

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
2 → 20
Calls
2 calls:
0.0ms
(fma z (- 1.0 y) (fma a (- 1.0 t) x))
0.0ms
(fma b (- (+ y t) 2.0) (fma z (- 1.0 y) (fma a (- 1.0 t) x)))

series375.0ms

Counts
2 → 6
Calls
2 calls:
150.0ms
(fma z (- 1.0 y) (fma a (- 1.0 t) x))
224.0ms
(fma b (- (+ y t) 2.0) (fma z (- 1.0 y) (fma a (- 1.0 t) x)))

simplify581.0ms

Counts
26 → 26
Iterations

Useful iterations: 3 (110.0ms)

IterNodesCost
050444
198437
2237378
3749375
done5001375

prune148.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize20.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma b (- (+ y t) 2.0) (fma z (- 1.0 y) (fma a (- 1.0 t) x)))
0.0b
(sqrt (fma b (- (+ y t) 2.0) (fma z (- 1.0 y) (fma a (- 1.0 t) x))))
0.0b
(sqrt (fma b (- (+ y t) 2.0) (fma z (- 1.0 y) (fma a (- 1.0 t) x))))
0.3b
(* (sqrt (fma b (- (+ y t) 2.0) (fma z (- 1.0 y) (fma a (- 1.0 t) x)))) (sqrt (fma b (- (+ y t) 2.0) (fma z (- 1.0 y) (fma a (- 1.0 t) x)))))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
24×sqrt-prod
21×pow1
14×add-cube-cbrt *-un-lft-identity
10×sqrt-pow1 pow1/2
swap-sqr
add-exp-log associate-*r* associate-*l* add-cbrt-cube
pow-prod-up
expm1-log1p-u log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr
rem-sqrt-square
pow2 pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod fma-udef
Counts
4 → 91
Calls
4 calls:
1.0ms
(fma b (- (+ y t) 2.0) (fma z (- 1.0 y) (fma a (- 1.0 t) x)))
3.0ms
(sqrt (fma b (- (+ y t) 2.0) (fma z (- 1.0 y) (fma a (- 1.0 t) x))))
2.0ms
(sqrt (fma b (- (+ y t) 2.0) (fma z (- 1.0 y) (fma a (- 1.0 t) x))))
22.0ms
(* (sqrt (fma b (- (+ y t) 2.0) (fma z (- 1.0 y) (fma a (- 1.0 t) x)))) (sqrt (fma b (- (+ y t) 2.0) (fma z (- 1.0 y) (fma a (- 1.0 t) x)))))

series33.4s

Counts
4 → 12
Calls
4 calls:
200.0ms
(fma b (- (+ y t) 2.0) (fma z (- 1.0 y) (fma a (- 1.0 t) x)))
16.9s
(sqrt (fma b (- (+ y t) 2.0) (fma z (- 1.0 y) (fma a (- 1.0 t) x))))
16.0s
(sqrt (fma b (- (+ y t) 2.0) (fma z (- 1.0 y) (fma a (- 1.0 t) x))))
242.0ms
(* (sqrt (fma b (- (+ y t) 2.0) (fma z (- 1.0 y) (fma a (- 1.0 t) x)))) (sqrt (fma b (- (+ y t) 2.0) (fma z (- 1.0 y) (fma a (- 1.0 t) x)))))

simplify515.0ms

Counts
103 → 103
Iterations

Useful iterations: done (510.0ms)

IterNodesCost
01113498
12622473
28802207
done50002098

prune447.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

localize35.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (sqrt (fma b (- (+ y t) 2.0) (fma z (- 1.0 y) (fma a (- 1.0 t) x)))))
0.1b
(sqrt (sqrt (fma b (- (+ y t) 2.0) (fma z (- 1.0 y) (fma a (- 1.0 t) x)))))
0.3b
(* (* (sqrt (sqrt (fma b (- (+ y t) 2.0) (fma z (- 1.0 y) (fma a (- 1.0 t) x))))) (sqrt (sqrt (fma b (- (+ y t) 2.0) (fma z (- 1.0 y) (fma a (- 1.0 t) x)))))) (sqrt (fma b (- (+ y t) 2.0) (fma z (- 1.0 y) (fma a (- 1.0 t) x)))))
0.3b
(* (sqrt (sqrt (fma b (- (+ y t) 2.0) (fma z (- 1.0 y) (fma a (- 1.0 t) x))))) (sqrt (sqrt (fma b (- (+ y t) 2.0) (fma z (- 1.0 y) (fma a (- 1.0 t) x))))))

rewrite122.0ms

Algorithm
rewrite-expression-head
Rules
97×sqrt-pow1
91×sqrt-prod
75×pow1
60×add-sqr-sqrt
53×pow1/2
43×pow-prod-up
22×add-cube-cbrt *-un-lft-identity
17×swap-sqr
15×associate-*r*
13×pow-sqr
12×pow-prod-down
11×add-exp-log add-cbrt-cube unswap-sqr
10×associate-*l*
pow-plus
expm1-log1p-u rem-sqrt-square prod-exp cbrt-unprod log1p-expm1-u add-log-exp
sqrt-unprod
*-commutative
pow2 rem-square-sqrt
Counts
4 → 173
Calls
4 calls:
3.0ms
(sqrt (sqrt (fma b (- (+ y t) 2.0) (fma z (- 1.0 y) (fma a (- 1.0 t) x)))))
3.0ms
(sqrt (sqrt (fma b (- (+ y t) 2.0) (fma z (- 1.0 y) (fma a (- 1.0 t) x)))))
87.0ms
(* (* (sqrt (sqrt (fma b (- (+ y t) 2.0) (fma z (- 1.0 y) (fma a (- 1.0 t) x))))) (sqrt (sqrt (fma b (- (+ y t) 2.0) (fma z (- 1.0 y) (fma a (- 1.0 t) x)))))) (sqrt (fma b (- (+ y t) 2.0) (fma z (- 1.0 y) (fma a (- 1.0 t) x)))))
22.0ms
(* (sqrt (sqrt (fma b (- (+ y t) 2.0) (fma z (- 1.0 y) (fma a (- 1.0 t) x))))) (sqrt (sqrt (fma b (- (+ y t) 2.0) (fma z (- 1.0 y) (fma a (- 1.0 t) x))))))

series18.4s

Counts
4 → 12
Calls
4 calls:
646.0ms
(sqrt (sqrt (fma b (- (+ y t) 2.0) (fma z (- 1.0 y) (fma a (- 1.0 t) x)))))
744.0ms
(sqrt (sqrt (fma b (- (+ y t) 2.0) (fma z (- 1.0 y) (fma a (- 1.0 t) x)))))
254.0ms
(* (* (sqrt (sqrt (fma b (- (+ y t) 2.0) (fma z (- 1.0 y) (fma a (- 1.0 t) x))))) (sqrt (sqrt (fma b (- (+ y t) 2.0) (fma z (- 1.0 y) (fma a (- 1.0 t) x)))))) (sqrt (fma b (- (+ y t) 2.0) (fma z (- 1.0 y) (fma a (- 1.0 t) x)))))
16.7s
(* (sqrt (sqrt (fma b (- (+ y t) 2.0) (fma z (- 1.0 y) (fma a (- 1.0 t) x))))) (sqrt (sqrt (fma b (- (+ y t) 2.0) (fma z (- 1.0 y) (fma a (- 1.0 t) x))))))

simplify11.9s

Counts
185 → 185
Iterations

Useful iterations: done (11.8s)

IterNodesCost
02037634
15374338
233983810
done50003807

prune661.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0.0b

localize33.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (sqrt (fma b (- (+ y t) 2.0) (fma z (- 1.0 y) (fma a (- 1.0 t) x)))))
0.3b
(cbrt (sqrt (fma b (- (+ y t) 2.0) (fma z (- 1.0 y) (fma a (- 1.0 t) x)))))
0.3b
(cbrt (sqrt (fma b (- (+ y t) 2.0) (fma z (- 1.0 y) (fma a (- 1.0 t) x)))))
0.5b
(pow (cbrt (sqrt (fma b (- (+ y t) 2.0) (fma z (- 1.0 y) (fma a (- 1.0 t) x))))) (+ 3 1))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
24×cbrt-prod
16×*-un-lft-identity
14×add-sqr-sqrt add-cube-cbrt
12×sqrt-prod
unpow-prod-down
pow1 add-exp-log
expm1-log1p-u pow-unpow pow1/3 add-cbrt-cube log1p-expm1-u add-log-exp
pow-pow
unpow-prod-up pow-to-exp pow-exp distribute-lft-out sqr-pow
Counts
4 → 76
Calls
4 calls:
3.0ms
(cbrt (sqrt (fma b (- (+ y t) 2.0) (fma z (- 1.0 y) (fma a (- 1.0 t) x)))))
2.0ms
(cbrt (sqrt (fma b (- (+ y t) 2.0) (fma z (- 1.0 y) (fma a (- 1.0 t) x)))))
2.0ms
(cbrt (sqrt (fma b (- (+ y t) 2.0) (fma z (- 1.0 y) (fma a (- 1.0 t) x)))))
9.0ms
(pow (cbrt (sqrt (fma b (- (+ y t) 2.0) (fma z (- 1.0 y) (fma a (- 1.0 t) x))))) (+ 3 1))

series3.5s

Counts
4 → 12
Calls
4 calls:
670.0ms
(cbrt (sqrt (fma b (- (+ y t) 2.0) (fma z (- 1.0 y) (fma a (- 1.0 t) x)))))
727.0ms
(cbrt (sqrt (fma b (- (+ y t) 2.0) (fma z (- 1.0 y) (fma a (- 1.0 t) x)))))
679.0ms
(cbrt (sqrt (fma b (- (+ y t) 2.0) (fma z (- 1.0 y) (fma a (- 1.0 t) x)))))
1.5s
(pow (cbrt (sqrt (fma b (- (+ y t) 2.0) (fma z (- 1.0 y) (fma a (- 1.0 t) x))))) (+ 3 1))

simplify3.6s

Counts
88 → 88
Iterations

Useful iterations: done (3.6s)

IterNodesCost
01322870
13602503
211092317
343932282
done50012278

prune656.0ms

Pruning

5 alts after pruning (1 fresh and 4 done)

Merged error: 0.0b

regimes393.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01518
11618
done1618

end0.0ms

sample2.1s

Algorithm
intervals
Results
1.2s12398×body80valid
0.0msbody320valid
0.0msbody160valid