Details

Time bar (total: 6.7s)

sample308.0ms

Algorithm
intervals
Results
202.0ms68×body640valid
52.0ms120×body1280valid
18.0ms256×pre80true
4.0ms25×body320valid
2.0ms36×body80valid
1.0msbody160valid

simplify23.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0155
1225
2335
3395
4505
5705
6995
71245
81665
92595
102605
112605

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 13.6b

Counts
2 → 1

localize13.0ms

Local error

Found 3 expressions with local error:

0.1b
(+ x (- (tan (+ y z)) (tan a)))
0.2b
(- (tan (+ y z)) (tan a))
4.3b
(tan (+ y z))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity add-log-exp
add-sqr-sqrt
tan-quot
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
sub-neg tan-sum associate-+r+ diff-log sum-log frac-sub distribute-lft-out distribute-lft-out--
+-commutative associate-+r- flip3-- flip3-+ flip-- flip-+ difference-of-squares
Counts
3 → 42
Calls
3 calls:
12.0ms
(+ x (- (tan (+ y z)) (tan a)))
6.0ms
(- (tan (+ y z)) (tan a))
6.0ms
(tan (+ y z))

series106.0ms

Counts
3 → 9
Calls
3 calls:
46.0ms
(+ x (- (tan (+ y z)) (tan a)))
33.0ms
(- (tan (+ y z)) (tan a))
26.0ms
(tan (+ y z))

simplify39.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (12.0ms)

IterNodesCost
0196346
1467335
21316334
35002334

prune97.0ms

Filtered
39 candidates to 51 candidates (-30.8%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New43851
Fresh000
Picked101
Done000
Total44852

Merged error: 0.1b

Counts
52 → 8

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
0.2b
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
0.2b
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
0.2b
(* (tan y) (tan z))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
30×*-un-lft-identity
22×add-sqr-sqrt
15×add-cube-cbrt
13×times-frac
11×add-log-exp
add-exp-log add-cbrt-cube
tan-quot
pow1 distribute-lft-out
associate-/l*
associate-*r* associate-*l* associate-/r* associate-/l/
sub-neg associate-+r+ flip3-- flip3-+ diff-log sum-log associate-/r/ flip-- flip-+ distribute-lft-out-- difference-of-squares
cbrt-undiv +-commutative frac-times associate-+r- frac-2neg associate-*r/ div-exp pow-prod-down associate-*l/ frac-add prod-exp clear-num *-commutative frac-sub cbrt-unprod div-inv unswap-sqr
Counts
4 → 90
Calls
4 calls:
8.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
12.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
13.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
7.0ms
(* (tan y) (tan z))

series338.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
121.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
134.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
23.0ms
(* (tan y) (tan z))

simplify118.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
04491259
115031211
249921203
350011203

prune172.0ms

Filtered
76 candidates to 102 candidates (-34.2%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New948102
Fresh527
Picked101
Done000
Total10010110

Merged error: 0.1b

Counts
110 → 10

localize20.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
0.2b
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
0.2b
(* (tan y) (tan z))
2.3b
(exp (+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity
17×add-log-exp
14×add-sqr-sqrt
add-cube-cbrt
pow1 add-exp-log add-cbrt-cube
tan-quot exp-prod
sum-log distribute-lft-out
diff-log associate-*r* associate-*l* rem-exp-log distribute-lft-out--
associate-+r- sub-neg associate-+r+ difference-of-squares
+-commutative frac-times flip3-- flip3-+ times-frac exp-diff associate-*r/ exp-sum pow-prod-down associate-*l/ prod-exp *-commutative frac-sub flip-- cbrt-unprod flip-+ unswap-sqr
Counts
4 → 71
Calls
4 calls:
12.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
15.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
5.0ms
(* (tan y) (tan z))
15.0ms
(exp (+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))))

series439.0ms

Counts
4 → 12
Calls
4 calls:
121.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
131.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
23.0ms
(* (tan y) (tan z))
164.0ms
(exp (+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))))

simplify74.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
03331021
1989959
23279952
35001952

prune153.0ms

Filtered
60 candidates to 83 candidates (-38.3%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New81283
Fresh279
Picked101
Done000
Total84993

Merged error: 0.1b

Counts
93 → 9

localize21.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (* (tan y) (sin z)) (cos z))
0.2b
(- (/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z)))) (tan a))
0.2b
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z)))) (tan a)))
0.2b
(* (tan y) (sin z))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt *-un-lft-identity
11×add-exp-log add-cbrt-cube add-log-exp
add-cube-cbrt
pow1
times-frac
tan-quot associate-*r* associate-*l* associate-/r*
cbrt-undiv sub-neg associate-+r+ diff-log div-exp associate-*l/ prod-exp sum-log cbrt-unprod distribute-lft-out distribute-lft-out-- difference-of-squares
+-commutative associate-+r- flip3-- frac-2neg flip3-+ pow-prod-down clear-num *-commutative frac-sub flip-- flip-+ div-inv associate-/l/ associate-/l* unswap-sqr
Counts
4 → 74
Calls
4 calls:
6.0ms
(/ (* (tan y) (sin z)) (cos z))
18.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z)))) (tan a))
18.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z)))) (tan a)))
7.0ms
(* (tan y) (sin z))

series292.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(/ (* (tan y) (sin z)) (cos z))
121.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z)))) (tan a))
132.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z)))) (tan a)))
16.0ms
(* (tan y) (sin z))

simplify41.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
03911035
11334960
25002951

prune86.0ms

Filtered
62 candidates to 86 candidates (-38.7%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New84286
Fresh178
Picked101
Done000
Total86995

Merged error: 0.1b

Counts
95 → 9

regimes808.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02112
12112

end0.0ms

sample3.4s

Algorithm
intervals
Results
1.6s3850×body1280valid
522.0ms8000×pre80true
492.0ms1999×body640valid
116.0ms716×body320valid
57.0ms1142×body80valid
34.0ms293×body160valid

Profiling

Loading profile data...