Details

Time bar (total: 15.2s)

sample240.0ms

Algorithm
intervals
Results
54.0ms53×body1280valid
29.0ms45×body640valid
20.0ms131×body80valid
5.0ms12×body320valid
5.0ms15×body160valid

simplify49.0ms

Counts
1 → 1
Iterations
IterNodes
done45
645
543
437
329
222
113
07

prune62.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.3b

localize27.0ms

Local error

Found 3 expressions with local error:

0.1b
(fma (tan x) (tan x) 1.0)
0.2b
(/ (fma (- (tan x)) (tan x) 1.0) (fma (tan x) (tan x) 1.0))
0.4b
(fma (- (tan x)) (tan x) 1.0)

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt *-un-lft-identity add-cube-cbrt
times-frac
add-cbrt-cube add-exp-log
expm1-log1p-u pow1 associate-/r* log1p-expm1-u associate-/l* add-log-exp
fma-udef
cbrt-undiv clear-num frac-2neg div-exp div-inv
Counts
3 → 49
Calls
3 calls:
0.0ms
(fma (tan x) (tan x) 1.0)
7.0ms
(/ (fma (- (tan x)) (tan x) 1.0) (fma (tan x) (tan x) 1.0))
3.0ms
(fma (- (tan x)) (tan x) 1.0)

series411.0ms

Counts
3 → 9
Calls
3 calls:
77.0ms
(fma (tan x) (tan x) 1.0)
216.0ms
(/ (fma (- (tan x)) (tan x) 1.0) (fma (tan x) (tan x) 1.0))
118.0ms
(fma (- (tan x)) (tan x) 1.0)

simplify1.3s

Counts
58 → 58
Iterations
IterNodes
done5000
31873
2456
1161
087

prune372.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 0.1b

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(fma (tan x) (tan x) 1.0)
0.2b
(+ (* (- (tan x)) (tan x)) 1.0)
0.2b
(/ (+ (* (- (tan x)) (tan x)) 1.0) (fma (tan x) (tan x) 1.0))
0.3b
(* (- (tan x)) (tan x))

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
16×*-un-lft-identity add-cube-cbrt
10×associate-*l*
times-frac
add-cbrt-cube add-exp-log
pow1 add-log-exp
expm1-log1p-u tan-quot log1p-expm1-u
distribute-lft-neg-in associate-/r* distribute-rgt-neg-in associate-*r* associate-/l*
flip3-+ flip-+ distribute-neg-frac associate-/l/
distribute-lft-neg-out frac-times cbrt-undiv +-commutative clear-num neg-mul-1 sum-log fma-def frac-2neg div-exp pow-prod-down associate-*l/ prod-exp associate-*r/ *-commutative cbrt-unprod fma-udef div-inv unswap-sqr
Counts
4 → 86
Calls
4 calls:
0.0ms
(fma (tan x) (tan x) 1.0)
15.0ms
(+ (* (- (tan x)) (tan x)) 1.0)
30.0ms
(/ (+ (* (- (tan x)) (tan x)) 1.0) (fma (tan x) (tan x) 1.0))
15.0ms
(* (- (tan x)) (tan x))

series350.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(fma (tan x) (tan x) 1.0)
50.0ms
(+ (* (- (tan x)) (tan x)) 1.0)
164.0ms
(/ (+ (* (- (tan x)) (tan x)) 1.0) (fma (tan x) (tan x) 1.0))
91.0ms
(* (- (tan x)) (tan x))

simplify909.0ms

Counts
98 → 98
Iterations
IterNodes
done5001
21434
1345
0148

prune586.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize21.0ms

Local error

Found 4 expressions with local error:

0.2b
(- 1.0 (* (tan x) (tan x)))
0.2b
(/ (- 1.0 (* (tan x) (tan x))) (fma (tan x) (tan x) 1.0))
0.3b
(* (tan x) (tan x))
0.3b
(log1p (/ (- 1.0 (* (tan x) (tan x))) (fma (tan x) (tan x) 1.0)))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
19×*-un-lft-identity add-cube-cbrt
12×times-frac
11×pow1
add-cbrt-cube add-exp-log
add-log-exp
expm1-log1p-u difference-of-squares
tan-quot log1p-expm1-u associate-/l*
associate-/r* fma-neg swap-sqr associate-*r* associate-*l* prod-diff
flip3-- flip-- associate-/l/
pow2 frac-times cbrt-undiv log1p-udef clear-num sub-neg frac-2neg pow-plus diff-log div-sub div-exp pow-prod-down associate-*l/ prod-exp log1p-expm1 associate-*r/ pow-sqr *-commutative pow-prod-up cbrt-unprod div-inv unswap-sqr
Counts
4 → 98
Calls
4 calls:
5.0ms
(- 1.0 (* (tan x) (tan x)))
14.0ms
(/ (- 1.0 (* (tan x) (tan x))) (fma (tan x) (tan x) 1.0))
20.0ms
(* (tan x) (tan x))
0.0ms
(log1p (/ (- 1.0 (* (tan x) (tan x))) (fma (tan x) (tan x) 1.0)))

series587.0ms

Counts
4 → 12
Calls
4 calls:
61.0ms
(- 1.0 (* (tan x) (tan x)))
179.0ms
(/ (- 1.0 (* (tan x) (tan x))) (fma (tan x) (tan x) 1.0))
43.0ms
(* (tan x) (tan x))
304.0ms
(log1p (/ (- 1.0 (* (tan x) (tan x))) (fma (tan x) (tan x) 1.0)))

simplify1.2s

Counts
110 → 110
Iterations
IterNodes
done5001
21833
1429
0177

prune591.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 0.0b

localize24.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (fma (- (tan x)) (tan x) 1.0) (fma (tan x) (tan x) 1.0))
0.3b
(log1p (/ (fma (- (tan x)) (tan x) 1.0) (fma (tan x) (tan x) 1.0)))
0.3b
(log (exp (log1p (/ (fma (- (tan x)) (tan x) 1.0) (fma (tan x) (tan x) 1.0)))))
0.4b
(fma (- (tan x)) (tan x) 1.0)

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt *-un-lft-identity add-cube-cbrt
times-frac
add-cbrt-cube add-exp-log
expm1-log1p-u pow1
log-pow log1p-expm1-u add-log-exp
log-prod exp-prod associate-/r* associate-/l*
cbrt-undiv log1p-udef clear-num frac-2neg div-exp rem-log-exp log1p-expm1 fma-udef div-inv
Counts
4 → 67
Calls
4 calls:
4.0ms
(/ (fma (- (tan x)) (tan x) 1.0) (fma (tan x) (tan x) 1.0))
0.0ms
(log1p (/ (fma (- (tan x)) (tan x) 1.0) (fma (tan x) (tan x) 1.0)))
2.0ms
(log (exp (log1p (/ (fma (- (tan x)) (tan x) 1.0) (fma (tan x) (tan x) 1.0)))))
0.0ms
(fma (- (tan x)) (tan x) 1.0)

series1.1s

Counts
4 → 12
Calls
4 calls:
193.0ms
(/ (fma (- (tan x)) (tan x) 1.0) (fma (tan x) (tan x) 1.0))
388.0ms
(log1p (/ (fma (- (tan x)) (tan x) 1.0) (fma (tan x) (tan x) 1.0)))
431.0ms
(log (exp (log1p (/ (fma (- (tan x)) (tan x) 1.0) (fma (tan x) (tan x) 1.0)))))
91.0ms
(fma (- (tan x)) (tan x) 1.0)

simplify1.8s

Counts
79 → 79
Iterations
IterNodes
done5000
33907
2745
1249
0131

prune556.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 0.0b

regimes208.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations
IterNodes
done11
011

end0.0ms

sample4.6s

Algorithm
intervals
Results
2.0s1457×body1280valid
858.0ms1278×body640valid
693.0ms633×body320valid
632.0ms4297×body80valid
146.0ms335×body160valid