Details

Time bar (total: 14.7s)

sample203.0ms

Algorithm
intervals
Results
39.0ms53×body1280valid
24.0ms45×body640valid
15.0ms131×body80valid
4.0ms12×body320valid
4.0ms15×body160valid

simplify40.0ms

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

prune13.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.3b

localize61.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)

rewrite18.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)
8.0ms
(/ (fma (- (tan x)) (tan x) 1.0) (fma (tan x) (tan x) 1.0))
4.0ms
(fma (- (tan x)) (tan x) 1.0)

series400.0ms

Counts
3 → 9
Calls
3 calls:
49.0ms
(fma (tan x) (tan x) 1.0)
154.0ms
(/ (fma (- (tan x)) (tan x) 1.0) (fma (tan x) (tan x) 1.0))
196.0ms
(fma (- (tan x)) (tan x) 1.0)

simplify1.0s

Counts
58 → 58
Iterations
IterNodes
done5000
31873
2456
1161
087

prune412.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))

rewrite101.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)
21.0ms
(+ (* (- (tan x)) (tan x)) 1.0)
45.0ms
(/ (+ (* (- (tan x)) (tan x)) 1.0) (fma (tan x) (tan x) 1.0))
30.0ms
(* (- (tan x)) (tan x))

series347.0ms

Counts
4 → 12
Calls
4 calls:
74.0ms
(fma (tan x) (tan x) 1.0)
45.0ms
(+ (* (- (tan x)) (tan x)) 1.0)
167.0ms
(/ (+ (* (- (tan x)) (tan x)) 1.0) (fma (tan x) (tan x) 1.0))
61.0ms
(* (- (tan x)) (tan x))

simplify967.0ms

Counts
98 → 98
Iterations
IterNodes
done5001
21434
1345
0148

prune594.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize41.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)))

rewrite31.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:
4.0ms
(- 1.0 (* (tan x) (tan x)))
11.0ms
(/ (- 1.0 (* (tan x) (tan x))) (fma (tan x) (tan x) 1.0))
13.0ms
(* (tan x) (tan x))
1.0ms
(log1p (/ (- 1.0 (* (tan x) (tan x))) (fma (tan x) (tan x) 1.0)))

series567.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(- 1.0 (* (tan x) (tan x)))
153.0ms
(/ (- 1.0 (* (tan x) (tan x))) (fma (tan x) (tan x) 1.0))
38.0ms
(* (tan x) (tan x))
330.0ms
(log1p (/ (- 1.0 (* (tan x) (tan x))) (fma (tan x) (tan x) 1.0)))

simplify1.3s

Counts
110 → 110
Iterations
IterNodes
done5001
21833
1429
0177

prune640.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 0.0b

localize49.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)

rewrite22.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:
14.0ms
(/ (fma (- (tan x)) (tan x) 1.0) (fma (tan x) (tan x) 1.0))
1.0ms
(log1p (/ (fma (- (tan x)) (tan x) 1.0) (fma (tan x) (tan x) 1.0)))
4.0ms
(log (exp (log1p (/ (fma (- (tan x)) (tan x) 1.0) (fma (tan x) (tan x) 1.0)))))
1.0ms
(fma (- (tan x)) (tan x) 1.0)

series1.1s

Counts
4 → 12
Calls
4 calls:
191.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)))
434.0ms
(log (exp (log1p (/ (fma (- (tan x)) (tan x) 1.0) (fma (tan x) (tan x) 1.0)))))
100.0ms
(fma (- (tan x)) (tan x) 1.0)

simplify1.8s

Counts
79 → 79
Iterations
IterNodes
done5000
33907
2745
1249
0131

prune473.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 0.0b

regimes227.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.4s

Algorithm
intervals
Results
1.8s1457×body1280valid
975.0ms1278×body640valid
775.0ms633×body320valid
508.0ms4297×body80valid
82.0ms335×body160valid